List of all attachments on confluence (accross all Communites and Pages)
Asked by Mark Waitaminute:

Hi -

Does anyone know a way to run a report (as a site Admin) that will show me all the attachments on our companies confluence site? We are doing some housecleaning.

We need the report to show the following information for each attachment

1) the name of the attachment

2) who uplaoded it (creator name)

3) Date uploaded

4) The name of the community it's in

5) The name of the page or child page it's in

We would then upload this report to Excel and filter it to show all the attachments a particular person uploaded to confluence accross all communites and pages within those communites.

Our Admin here is not to tech savy so hopefully we don't have to run a macro or write SQL code to do this. But if that's the only way can you show how step by step?

This is my first post here. You can also email me at [mark.wayburn@diago.com](mailto:mark.wayburn@diago.com)

Any help would be much apprciated !!


Answers:
author: Matthew J. Horn
body: Have you checked out the Attachment macro? Seems to do most of what you want, except "community", but I'm not sure what you mean by that. Here's a link:

<https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments>


author: Greg Kullberg
body: I was able to generate a similar report using (formerly CustomWare) ServiceRocket's Reporting plugin:

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e251bWJlci1zb3J0OmNvbnRlbnQ6ZmlsZSBzaXplfG9yZGVyPWRlc2NlbmRpbmd9&locale=en_GB&version=2) ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e2NvbnRlbnQtZmlsdGVyOnR5cGU9YXR0YWNobWVudHxzcGFjZT1ORX0&locale=en_GB&version=2) ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e3RleHQtZmlsdGVyOmNvbnRlbnQ6Y3JlYXRvciA-IHVzZXI6bmFtZXxpbmNsdWRlPWdrdWxsYmVyfQ&locale=en_GB&version=2) | |------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e3JlcG9ydC1pbmZvOmNvbnRlbnQ6dGl0bGV8bGluaz10cnVlfQ&locale=en_GB&version=2) | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e3JlcG9ydC1pbmZvOmNvbnRlbnQ6YXR0YWNoZWQgdG98bGluaz10cnVlfQ&locale=en_GB&version=2) | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e3JlcG9ydC1pbmZvOmNvbnRlbnQ6Y3JlYXRvciA-IHVzZXI6bmFtZX0&locale=en_GB&version=2) | |----------------------------------------------------------------------------------------------------------------------------------------------------------------| | ![](https://docs.bmc.com/docs/plugins/servlet/confluence/placeholder/macro?definition=e3JlcG9ydC1pbmZvOmNvbnRlbnQ6bmljZSBmaWxlIHNpemV9&locale=en_GB&version=2) | |----------------------------------------------| | *No files have been attached to this space.* | |

You could remove the space filter, and then add any other filters / report columns you want. But that should give you what you're looking for.


author: Bob Swift (personal)
body: [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) can be used. See [How to get a list of all attachments](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+get+a+list+of+all+attachments)


author: Mark Waitaminute
body: Just wanted to add

My email is [mark.wayburn@diageo.com](mailto:mark.wayburn@diageo.com)


Tags: confluence-administration