confluence attachment information

Dear Support Team, 

Would it be possible to find out how many attachments deleted / added / modified in a month? Thanks a lot.


2 answers

Confluence provides a half decent search functionality which would at the very least supply some of the information you are after. 

Screen Shot 2018-01-10 at 16.04.52.png

Alternatively if you are a bit more technical you can make rest calls using the Confluence Rest API and CQL which should get you the information you require.

Dear Christo, 

 Would it be possible to Graphical or send a number for the result of api ? I mean how can we easily to analytics the result by tool or other way ?Thanks for your kindly assistance.

Best Regards, Anderson Hsu


If you want an easier solution you could use a paid 3rd party application like ScriptRunner which provides a CQL macro and CQL search bar.

So you could do a CQL search, something like:

created > startOfMonth() and type = attachment and space = ds

This will return some numbers, but if you want a graphical chart you can just input the numbers in a chart.

If you want it automated with a chart you will probably have to try and find a 3rd party application on the Confluence marketplace or write something yourself.

Screen Shot 2018-01-11 at 14.14.56.png

Dear Christo, 

If the attachment is not shown , can we search by *.* to list all attachments in some space? I try  it, but it can not work. Thanks a lot.

Best Regards, Anderson Hsu


Not sure if you are refering to CQL or a normal search.


To list all the attachments of a specific space via CQL simply use:

type = attachment and space = ds

CQL supports wild-cards but I suggest you look at the documentation.


To show all the attachments in a space via a traditional search, you don't need to type anything in the search bar, just use the filters on the side bar.


Screen Shot 2018-01-15 at 09.30.51.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,031 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you