Import needs to modify Jira Change History

I am importing a large amount of data from a different issue tracker into Jira, as a CSV, and I need to bring the change history along. I can place the data into Jira's comments field but that is less than ideal. I need to be able to place the change history from our previous issue tracker into the change history in Jira.

What options are available to do this?

1 answer

Hi,

i'm afraid this cannot be done without coding or changing the database directly.

if you are a coder: The class you can use to properly write the change history is ChangeLogUtils. You can find a lot of code examples when you google for ChangeLogUtils. e.g I have found: http://forums.atlassian.com/servlet/JiveServlet/download/46-3524-83650133-735/BugzillaImport.java as an example how the bugzilla importer writes the old bugzilla id to the change history. If you have a commercial license please search for ChangeLogUtils and you surely find many useful examples in Jira builtin importers

Another option is to write directly to the database tables changegroup and changeitem but in this case you must take care to update the sequence_value_item table properly. Always take a backup of your db before you do such a dangerous operation Also you should change the database directly only when Jira is not running and afterwards you have to reindex. Please read more about the database way to do it at http://confluence.atlassian.com/display/JIRA043/Change+History

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,425 views 15 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you