CSV import and multiple attachements

Peter Novak August 7, 2013

please can you help me, how to import more than 1 attachement via csv? this works(for 1 attachement):

Provider;Region;Release;Version;Folder name;App;DateReported;ID;Item and criteria;Description;Screen;Priority;DateDeveloper;Bug type;D Status;DDescription;DateRetest;T Status;TDescription;attachement;reporter

TA;EUR;2012.10;v900;ta_eur_2012_10_v900_24-Jan-13_S131;13.1.0;29.01.13;TAEUR1;Areas - Visual map control of areas: Built up, Waters, Industry, Park etc.;Missing or incomplete lake polygon;TAEUR1, TAEUR2;2;30.01.13;Map Parsing;In Jira;Area convertor GI-147;09.05.13;Not fixed;;"file://tralala.jpg";pnovak;

but how write in csv links to more attachements? som issues can have 1 attachement, some 2 ... I want to do it another way than creating separate columns in csv that can be mapped into one jira field (attachement)

4 answers

1 accepted

0 votes
Answer accepted
LucasA
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.
August 7, 2013

Hi Peter,

It's only possible add a value per row via CSV import, so you can only import one attachment per time. However, after performing a first import with a single attachment, you can create a new CSV with only two rows -- issue key and attachment. Then, repeat the same issue key for each attachment you may add on it. Import this new CSV file in JIRA and all the issues will be updated according the CSV file;

You can find more information about this procedure I'd mentioned in the 'Updating existing JIRA issues' section on this page.

Best regards,
Lucas Timm

Azadeh Hashemi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2016

I want to double check.

Suppose my csv is like this:

 

issue key,summary,subject,attachment

T1, some summary, some subject, 1.png

T1, , , 2.png

T1, , , 3.png

...

 

This will add T1 issue which contains three attachments, right?

Peter Novak August 7, 2016

i think yes. but you create 5 columns in csv, that are all mapped into one jira column

1 vote
Peter Novak August 7, 2013

i thought so :( maybe some separator character woulkd be invented in future

I solved this porblem by creating 5 columns in csv, that are all mapped into one jira column

LucasA
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.
August 7, 2013

Good shot, Peter!

0 votes
Robert Horan
Atlassian Partner
September 30, 2022

Your CSV file can contain multiple columns named Attachment.  You can use them to import multiple attachments per issue.  

0 votes
sdfgsdfs
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2020

why atlassian can't parse array of links in attachments? it so horrible to make multiline csv.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events