Hi
I recently had to do a complex import. After several iterations, I got it right. I would like to share the steps that helped me get the source and destination organised for the import.
Migration/Data Import:
For anyone familiar with data migration in the context of Jira/Database/ Excel, etc there are basically two key areas.
In my example where the import was done from a csv file to a new Jira project, the steps I followed in a successful/clean import (after having several hiccups without a process ) are below:
Source Data Review:
=COUNTA(A2:A101).
This is to count all non-empty cells between A2 and A101, assuming you have 100 rows of data.
Just understand your input data. It will help you with making decision for migration.
Destination/Jira Project requirements:
Sample table to do mapping between Source and Destination
Field Name (Source) |
Field Name (Target) |
Comment |
Assignee |
Assignee |
Do not migrate |
Assignee Id |
Assignee Id |
Do not migrate |
Comment |
Comment |
Migrate |
Components |
Components |
Required components created |
Created |
Created |
Migrate |
Creator |
Creator |
Do not migrate. Delete column |
Creator Id |
Creator Id |
Do not migrate. Delete column |
|
|
|
|
|
|
Issue Types mapping:
Example mapping:
Source Issue Type |
Target Issue Type |
Activity |
Task |
Bug |
Bug |
Core Task |
Task |
Design |
Task |
Epic |
Epic |
Improvement |
Task |
Story |
Story |
Sub-task |
Sub-task |
Task |
Task |
I chose to map the issue types and workflow status and update the source CSV to limit the mapping decisions I need to make at the time of import in Jira.
But you will have an option to make these mapping decisions at the time of import.
Workflow/Status mapping:
Source Workflow Status |
Destination Jira Project Workflow Status |
Open/Ready |
TO DO |
In Progress |
DEVELOPMENT |
Blocker |
BLOCKED |
Needs Review – UAT |
READY FOR UAT |
UAT Ready |
READY FOR UAT |
UAT TEST |
IN UAT |
In UAT Testing |
IN UAT |
Need Review – Prod |
PRODUCTION VERIFICATION |
Client Approved or Closed |
DONE |
Components and Labels
Options
All three options have been tested.
Parent-Child Links
To import parent-child links, make sure the below fields are selected for import.
Jira sorts and manages the order of Parent-child issues. The file doesn’t have to be sorted by EPIC first.
User IDs
I did not migrate user ids.
HTML Formatted Text
I had issues with importing HTML formatted text initially.
Just leave the ‘Map field value’ unchecked
When this is checked, the import gives you an option to review all values to be mapped for this field. I left this unchecked for all fields. If there is a discrepancy, for example if a status is not present in destination, the import process will force you to map the field to a value that is available.
Image Import
When importing images, Browse Project permission to be allowed as Public for the Jira project where the images are stored at source. There is another option to use Userid, password in the CSV. But I used the Browse projects permission method.
Date format
Choose/update to the right date format setting when you commence the import.
Field to be mapped not available in the list of fields in the dropdown
If you do not see the field, check field configurations, context etc to make sure the field is available for the destination project.
Test Migration:
I ran the import with a small sample to check if images, dates and other values are imported correctly.
I had ‘delete issues’ permission and deleted the issues and re-ran the import few times until I got everything right. But doing the pre-work and mapping helped run the import more smoothly and identify and address gaps easily.
Some useful links
https://support.atlassian.com/jira-cloud-administration/docs/import-data-from-a-csv-file/
Kavitha Chandrasekaran
Agile Consultant
Digitality
Sydney, Australia
7 accepted answers
2 comments