A page exported to HTML has more attachments than what is uploaded to the page
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Upon doing a space export to HTML, the pages in the HTML files display more attachments on their lists than what is actually uploaded to them.
Check the Attachments part of the page in the HTML file and compare it with the number displayed in the Attachments button of the page itself (ellipsis at the top-right > Attachments). The page should have fewer attachments than the HTML file.
The HTML files display more attachments than the value in the pages because the export includes the deleted attachments that are still in the trash of the space until they are purged. There is a suggestion in place to change this this behavior:
As a space administrator, access the trash of the space and purge them:
- Tap Space settings on the sidebar.
- Look for Content Tools and select the Trash tab.
- On the right side of the attachment's name, tap the Purge option and confirm it.
On the new space administration experience, the Trash option will be found under the Manage pages panel from the Space settings.