It depends on the reason behind the broken attachment. Was the file/folder deleted, or was a folder disconnected from Team Files by a user?
...
The file/folder was deleted
If the attachment was deleted from the original storage, only restoring the file/folder on the storage can recover it.
...
You can check the “Connected folder logs” to see what happened.
In Jira, : open the Project settings > Apps > Team Files > Connected folder logs.
In Confluence, : open the Space settings > App links > Team Files settings > Connected folder logs.
The logs show when a folder was changed and who did it.
...
Can I revert it?
If the folder was disconnected by mistake, it’s now possible to reconnect it in the first 30 days.
...
To recover a disconnect folder:
...