Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Software Cloud Attachments Management

Anna Anderson December 17, 2018

Hello all,

We are new to Jira. We are using Jira Software (Cloud). Users attach documents to issues as they work.

Questions:

1) Is there a specific screen / method by which we can see all the attachments against a project? Ideally we would like to manage and/or bulk download them at the end of a project?

2) There is an option to specify the default attachment path in the Server version, but this does not show up in the Cloud version of Jira Software - where are the files being saved?

3)  Is there a connector for Jira Cloud and SharePoint? (i.e. that is not from Confluence?)

Thanks for you help.

Anna

3 answers

2 accepted

0 votes
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2018

Hello Anna,

Thank you for getting in touch with Atlassian Community!

Currently, it's not possible to download all attachments of a project, however, we have a feature request suggesting the implementation of the ability to download all attachments from all issues in search results:
- https://jira.atlassian.com/browse/JRACLOUD-68871
Please, make sure to watch and vote to receive updates about the feature.

Related to the location of the attachments, as it is cloud the only way to access it is through the own ticket.

Regarding Sharepoint, there's no plugin that provides a way to connect JIRA and Sharepoint in order to exchange information. You can try contacting Microsoft Sharepoint support to check if they have a solution to this problem.

Hope this helps!
If you have any other question please let us know.

Regards,
Angélica

Anna Anderson December 21, 2018

Hello Angélica,

Many thanks for your detailed and clear explanation, very useful. We have taken the decision to prevent attachments - using links to the Sharepoint repository instead.

 

Regards

Anna

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2018

There really isn't a good way to see all the attachments in a specific project in Jira Cloud.  Attachments are being stored against specific issues.   You could use a JQL query such as

attachments is not EMPTY and project=XYZ

in order to see all the issues that have attachments in project XYZ, but this only shows you the issues. You would have to open each issue to see all the attachments on those specific issues.

 

You mentioned that Jira Server has the ability to set an default attachment path.  Technically that has not been true since Jira 5.2, (it was true for previous versions).  More details in the KB How to change the attachments directory on JIRA.  Since that version all installations of Jira are defaulting to using the same path inside the JIRAHOME/data/attachments/ directory for storing these files.  

But this fact might be helpful if you 're looking to find all the attachments on a per project basis.  This is because in Jira Server, the attachments are stored in a filepath format of $JIRAHOME/data/attachments/{ProjectKEY}/{5digitid}/{IssueKey}/{id}  These files don't contain the exact filename.extension, but that info is stored in the database.  You could use a guide such as Bulk import attachments to JIRA issues via REST API in order collect that information from a Server instance of Jira.  Even if you're intention is not to import attachments, there are steps in that guide you can use to collect those files and give them back their filenames so you can see which files are in which projects/issuekeys.

 

As for a sharepoint connector for Jira, there was once a plugin for this in https://marketplace.atlassian.com/archive/23618 but it appears this plugin has been archived by the vendor.  Right now, I am not finding any sharepoint plugins that connect Jira with Sharepoint currently.  Perhaps something like the Project Documents plugin might be helpful here.  I have not personally used this, but from reviewing the description it looks like it might help you manage attachments on a project level. Unfortunately, it appears to be a server only plugin that is not available for Cloud.

Anna Anderson December 21, 2018

Hello Andrew.. many thanks for your help. Very useful information. Thanks again.

0 votes
Bruno Marotta (ease solutions)
Atlassian Partner
December 30, 2021

Hi Anna,

There are several Attachment managers in the marketplace. Maybe some of them suit your needs.

If you are Ok to write Rest API scripts you could write a small script using the JQL mentioned by @Andy Heinzer above:

1) Get all issues with attachments: "attachments is not EMPTY and project=XYZ"

     API Call search: JIRA Cloud REST API Reference (atlassian.com)

2) For each issue download all the attachments

    API Call attachment get attachment: JIRA Cloud REST API Reference (atlassian.com) 

Suggest an answer

Log in or Sign up to answer