How to import history of an issue via CSV?

Ian Carlos
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.
November 7, 2022

Hi everyone, hope you're all fine

 

You'll see, my company is performing a system migration, and one of the most important parts to keep, are the tickets of the previous system and theirs history (changelog in JIRA)

 

I'm using the CSV importing approach since via API or Python JIRA library is not possible to create issues with defined event dates (creation date, etc), but I haven't been able to find any example of how to upload the issue with its changelog...

 

Could you help me with this? Please

 

Changelog is really IMPORTANT for us

1 answer

1 accepted

1 vote
Answer accepted
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2022

Hi,

You can do it with the JSON not the CSV

https://confluence.atlassian.com/adminjiraserver071/importing-data-from-json-802592907.html

example :

"history" : [
                        {
                            "author" : "alice",
                            "created": "2012-08-31T15:59:02.161+0100",
                            "items": [
                                {
                                    "fieldType" : "jira",
                                    "field" : "status",
                                    "from" : "1",
                                    "fromString" : "Open",
                                    "to" : "5",
                                    "toString" : "Resolved"
                                }
                            ]
                        }
                    ]
Ivan Lima
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.
November 7, 2022

To add to what Mohamed has mentioned, there is an open request on Atlassian public issue tracker that you can vote on and add yourself as a watcher to receive notifications from now on.

Ian Carlos
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.
November 21, 2022

Thank you Mohamed, that worked perfectly!

 

Oh, thanks Ivan, I've already done it!

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