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

This widget could not be displayed.

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. 

https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/

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.

api.png
Best Regards, Anderson Hsu

This widget could not be displayed.

Hi,

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

Hi,

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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

602 views 8 6
Join discussion

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