Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

For administrators, it is nice to be able to get a handle on attachments for JIRA or Confluence. Both JIRA and Confluence support the getAttachmentList action that normally gets attachments for a single entity (JIRA issue or Confluence space). This describes how to do the same thing across the entire product.

Tip
titleScale

Be careful on larger instances as this could take a significant amount of time and resources. You might want to consider splitting up your request or running during off hours. You may need more Java memory for running the client.

Steps for Confluence

Confluence is easy. 

No Format
–action getAttachmentList --outputFormat 2 --space @all --file list.csv

Steps for JIRA

JIRA is a bit more involved because it needs to deal (potentially) with a large number of issues and the limitations JIRA has for listing issues with JQL. Unless you have less than 1000 issues or you can split up your request to only deal with < 1000 issues at a time, you will need to do something like the following. 

...

Info
titleWhy is this needed?
  • Only favorite filters can be accessed remotely
  • Filters can be used remotely for paging requests so that more than 1000 issues can be handed.

Steps for JIRA - alternative 

If each project you have has < 1000 issues, then you can get away with something more simple by splitting up the request by project.

...