Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

confluence attachment information

Hsu Yao Chang January 10, 2018

Dear Support Team, 

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

 

2 answers

0 votes
Christo Mastoroudes [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2018

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

Hsu Yao Chang January 14, 2018

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

Christo Mastoroudes [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2018

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

0 votes
Christo Mastoroudes [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2018

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/

Hsu Yao Chang January 11, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events