Forums

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

How to import many files to be attached to issues

Gal Fatal
Community Champion
June 16, 2019

Hi,

We are moving from different tool set to Jira , migrating all data.

During the migration we would like to import also all attachments (usually log files)

CSV import is clear , for data import , but  any ideas how to import files in automatic way to different issues ?

We can export all files to shared folder ,

the question is how to import them to Jira . We have hundreds of files .

Thanks,Gal.

2 answers

2 accepted

0 votes
Answer accepted
sara
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.
June 16, 2019

We have done this by programmatically populating the attachment column with file protocol URL and importing via csv.

For that you have to copy the attachments to the installation folder.

Note we were using On-prem

0 votes
Answer accepted
Pankaj Jangid
Community Champion
June 16, 2019

There is a REST API to do this. If you have all the content ready then you can simply upload it using this API, you can fully automate this. For detailed information on the API go to,

https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-issue-issueIdOrKey-attachments-post

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events