i am trying to mugrate my issues from our legacy environment to jira but i am not able to map ticket history of my existing issues to jira, can someone suggest any best practices or method on, how i can capture old ticket history from different tool to jira history during migration.
It is not possible to update the history of an issue in the UI, with the CLI or anything else.
Also, bear in mind that it's not a "history field", it's multiple records of change that are displayed in one place.
You can import historical data as part of a data import, but only some of the importers support it.
It's really not possible to answer this question without knowing something about the source data.
I could tell you "do a load of work to change the shape of the data into something Jira understands", or at the other extreme, "write something in Jira that understands and imports your data".
Both extremes could be valid, but there's no way to tell you how far along that scale to go without understanding your data.
What is this legacy system to begin with?
There's no importer I know of. I'm afraid you're probably into "some form of export, data manipulation and then import".
Two ideas that would be worth a look
1. https://confluence.atlassian.com/display/JIRA/Migrating+from+Other+Issue+Trackers - for the generalised ideas behind the imports
2. Im not familiar with ClearDDTS, but I've used (and migrated off) ClearQuest and I'm guessing there may be some similarities. Even if not, this is still worth a read - https://confluence.atlassian.com/display/ATLAS/JIRA+Cookbook+-+Migration+off+IBM+Rational+ClearQuest
Similar query i do have,
Just to make the issue more speciific;
Notes: the challenge here is, History is not a field in JIRA its listed under Activity,
hence, while importing the CSV file it does not get listed as a JIRA field so it not possible to map any field from CSV file to History in JIRA.
As far as I am aware, the CSV import does not handle issue history (I've not used it in Jira 5 or 6 yet for full system migrations). I'm not sure it could directly, because Jira issue history is in one particular structure and CSV doesn't lend itself to complex structures.
As soon as you want history of incoming issues, I start looking at the other importers, scripts, jelly, etc.
I don't know how CSV represents a history. I suppose it's in a quite awkard way, as a history is usually about multiple events referring to a single issue, which is difficult to represent in CSV format where each row corresponds to a single issue.
You would have to write a script to convert your data into JSON format - which has strict expectations wrt the structure. It could be easier in your case, to resign from CSV completely and write the exporter directly from ClearDDTS into JIM JSON format.
Using Perl script we are able to accomodate multiple evevnts in to a single cell in CSV file,
(basically we removed the new line characeter with the help of perl script that enabled us to accomodate all the events for a single CR to be captured in to a single cell),
But our chalenge now is: how we can map the History field of theCSV file to JIRA History ?
because :"History" in JIRA is not a field(its a deafult Tab), so it does not get listed under the field list for mapping during import.
I don't know. You should look at the DDTS documentation to see if it does anything close.
What I'm trying to tell you is that you need the data in JSON format that the Jira importer can understand. You managed to convert it to CSV, so you should be able to do something similar to get it to JSON.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG