Forums

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

Data Migration - With Attachments

Naomi Carey July 25, 2023

I need to bulk create items in Jira Cloud however the import seems to be CSV, in which we will then lose attachments. 

 

Can anyone suggest a format, or migration tool in Jira which will upload attachments? This migration will be hundreds of tickets. 

4 answers

1 accepted

2 votes
Answer accepted
Kai Becker
Community Champion
July 25, 2023

Hi @Naomi Fensome 

thanks for your question.

You will be able to import attachments via csv too. You need to put the link to the attachment into the csv file. Files musst be publicly accessible for Jira to pull them in.

Documentation on how to import attachments can be found here

Fede Baronti -Deiser-
Community Champion
July 25, 2023

Hi @Naomi Fensome and @Kai Becker , 

I'm Fede Baronti from Deiser.

We develop a few apps for the Atlassian Marketplace. One of them is Exporter. 

 @Naomi Fensome  with Exporter, you will be able to export your list of issues in CSV format, with Attachments. The attachments will be exported in a folder and prepared to be imported to the Cloud site following the steps that @Kai Becker just kindly shared (unfortunately, Exporter cannot import).

Hope this helps and if you decide to try out Exporter and you have any further questions, do not hesitate to let me know. 

Like Kai Becker likes this
0 votes
Amelie Winkler _Appfire_
Atlassian Partner
July 25, 2023

Hi @Naomi Fensome – Amelie from the Appfire team here!

With Jira CLI, you can import data incl. attachments from a CSV file in bulk. If you don’t know the app yet, you can learn more about it here.

If you want to try it out, here’s a step-by-step guide:

1.) Create a CSV file with the issue key and path to the attachment see the example below.

issue,file
ABC-62, Downloads/attachment1.pdf

2) Execute the following CLI action (adjust the path based on the location of your CSV)

--action runFromCsv --file "/Users/appfireuser001/CLIInstaller/attachments.csv" --common "--action addAttachment"

3) Done!

__

The above example shows how to do it with one attachment. If you have several attachments, you should create a directory and place all the files you want to add in there. For example:

1) Create a CSV file with the issue key and path to the attachment directory. Add all the attachments to the directory (in this case “Profiles” is the directory that contains multiple files.)

issue, file
ABC-62, Downloads/Profiles

2) Execute the following CLI action (adjust the path based on the location of your CSV).

--action runFromCsv --file "/Users/appfireuser001/CLIInstaller/attachments.csv" --common "--action addAttachments"

3) Done!

 

Please let me know if you have any additional questions!

Cheers,

Amelie

0 votes
Naomi Carey July 25, 2023

Just to clarify - This is going from a 3rd party software into Jira Cloud. 

Fede Baronti -Deiser-
Community Champion
July 25, 2023

Hi @Naomi Fensome , 

Well, in that case, Exporter should be out of the equation as it is a 3rd party App, but only for Jira. 

Sorry for the misunderstanding. 

I believe that following the documentation @Kai Becker shared you should be good to go. 

Thanks for clarifying!

0 votes
abhishek_sharma03
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.
July 25, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events