Forums

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

Hi can any one tell me how to export our issue with attachments in csv formate

Jyotshna Naidu August 23, 2023

i want to export my issues which having attachments to CSV formate
can any one help me with this

3 answers

1 vote
Reshma Begum {Appfire}
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 24, 2023

Hi @Jyotshna Naidu ,

Using Jira Command Line Interface (CLI), you can export the attachment list from all issues in a CSV file with the below action:

jira --action runFromIssueList --jql "project = TEST AND issuetype = Story"  
--common " --action getAttachmentList --issue @issue@ --file attachlist.csv
--append" --server http://localhost:8080/ --user <username> --password <password>
--outputFormat 999

Please modify the Jql, server, username, and password in the above action accordingly.

Thanks,

Reshma

Jyotshna Naidu August 24, 2023

Hi @Reshma Begum {Appfire} ,
Thanku for you help
But the thing is we cant download any plugin now bcoz license got expired we are moving to other instance 

Like Reshma Begum {Appfire} likes this
0 votes
Jyotshna Naidu August 24, 2023

Then what i can do to export my issue with attachment to another instance in CSV format only

0 votes
Aron Gombas _Midori_
Community Champion
August 24, 2023

Run this JQL query to find those issues that have attachments:

attachments is not empty

Then export the resulted issue list to CSV  with the built-in feature. 

Jyotshna Naidu August 24, 2023

Hi @Aron Gombas _Midori_ ,

Thanku for you help,

If i am running JQL query in jira server and exporting the CSV file can i import this file in another instance JSM instance will i get attachments, there?

Because here in CSV the attachment path will be my Jira server path
will this work on JSM r should we need to copy and dump the attachment file to JSM .

Aron Gombas _Midori_
Community Champion
August 24, 2023

No, I don't think so.

You should not use the export-import CSV process to migrate attachments...

Jyotshna Naidu August 24, 2023

Hi @Aron Gombas _Midori_ 
Then what i can do to export my issue with attachment to another instance in CSV format only

Aron Gombas _Midori_
Community Champion
August 24, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events