Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to export issues to csv file programmatically?

I need to get "in progress" issues and export it to cvs file (background service).

How can i do it programmatically?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

You can use getIssueList from JIRA Command Line Interface (CLI) to generate a CSV file from a JQL query.

Thanks Bob, seems it works

0 votes

You'll need to write a report or issue view for the navigator that will iterate over your search and spit out a line of CSV for each issue and present it to the user

Or, you could take the easier route and don't re-invent the wheel.  Go to the navigator, get the results you want and click "export to excel".  This gives you a generic spreadsheet which all spreadsheet programs can easily "save as CSV".

If you need to automate it, you can actually save the filter you want to use and hit the url (with curl or something) for the download whenever you need it.



I can do the same in Cloud? you know? Cause I've problems to do in cloud automatically.  

Hi @Nic Brough _Adaptavist_ 

What do u mean by writing a report or issue view. Can you please elaborate.

That answer was made nearly 4 years ago, before Atlassian added a CSV export to the issue navigator (replacing the Excel one).  You don't have to do anything now, just use it (although before, you still should just have used Excel and "save as")

At that time, the answer meant what it said.  If you want additional export routes, you need to write reports or views to provide them.  I'm not sure how else to explain it.

Community showcase

The Chronicles of a Journey filled with Happiness, Team participation, Plan B, Co-Leaders, and COVID

From the US East to the US West to Patagonia Argentina and beyond   This year (2022) I am reaching 12 years as Atlassian Community Leader. I wanted to finish 2021 strong with multiple events...

164 views 9 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you