How to bulk export archived issues/projects?

Patricia Johansson June 25, 2022

We are migrating from Server to Cloud, and we are not migrating anything in the archive. However we would like to be able to export all issues in the archive to have as a backup for referencing. Under Issues > Archived Issues, I can see them all but if exporting from that page I only get limited info.

image.png

 

The user requirement behind having the archived issues exported is so we can reference it to see why certain decision were made (as some devs might not work with us anymore). So the comments would be needed as well.

I can see I can access further information through calling, but wondering if there is a version for ALL archived issues:
https://jira.[INSTANCENAME].io/rest/api/latestissue/[ISSUEKEY]?expand=names,renderedFields

1 answer

0 votes
Dam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 25, 2022

HI @Patricia Johansson 

As I see in the doc of Archiving issues in Jira Data Center:
https://confluence.atlassian.com/adminjiraserver/archiving-an-issue-968669980.html

There is an API to get all exported issues: 

/rest/internal/2/archiving?all=true

Then I guess you can also you expand param on that API... 

There is also a doc explaining how to export archiving issues data using SQL: 
https://confluence.atlassian.com/jirakb/how-to-report-on-archived-issues-in-jira-data-center-1018765779.html 

And with this solution you can collect all datas from all archived issues. 

I hope it helps. 

Cheers,
Dam. 

Suggest an answer

Log in or Sign up to answer