It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I find unused attachments?

We can have a page on our Confluence environment which has over 30 images and PDF attachments. 10 of those for example might no be shown on the page any more because they have replaced with a file using a different name.

How can we locate all unused attachments? Is there a select SQL we can execute which can help us find this out?

Our site storage is forever increasing. Having a list of all the redundant files will allow us to clear some space.

 

2 answers

0 votes

Confluence doesn't track if something is used or not, unless you install and configure one of the apps that tracks views.  I have a feeling there is only one that tracks attachment "view" (I use quotes because preview, view-in-place and download are all tracked as the same thing)

We have created this plugin which scans the Confluence database to identify unused attachments:
https://marketplace.atlassian.com/apps/1216349/confluentis-unused-attachments?hosting=server&tab=overview

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,524 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you