Keep issue parent-child mapping during CSV import to Jira Cloud
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
When a CSV import is performed in Jira, we usually lose Parent-child relationships between imported issues, but the links can be maintained.
Previous versions of this article made reference to the "Epic Link" field. This KB has been updated as of April 2024 to reflect the changes in regards to the Deprecation of the Epic Link and Epic Name fields. Going forward, the Parent field should be used in place of Epic Link in Jira Cloud.
Confirm proper formatting in the CSV file
Issue relationships are usually lost because of issue order in the CSV file and/or improper mapping of the parent and child during the import process.
First, make sure the exported CSV file contains at least the following columns for the parent-child mapping:
Issue type, Issue key, Issue ID, Summary, Parent
Next, confirm the file has all issues listed in order of their hierarchy.
That is, the topmost rows of the CSV must list all the Highest hierarchy issue types, with subsequent rows including the Standard issue types, and finally the Sub-task types.
Map issue IDs using the Parent field in the CSV file
For the parent→child relationship to work, copy the Issue ID of the parent issue and paste it in the Parent column of the the Child issue.
After making the above changes, the Issue Type mappings should look as per the below sample screenshot.
The CSV file is now ready for import.
Import the CSV file to Jira
- Select Settings (cog icon) > System
- Navigate to External system import under the "Import and export" heading
- Select Switch to the old experience
- Select CSV
- Select "Choose File" and navigate to the file via your machine's file explorer
- Once uploaded, select Next
- Select the destination project where you want the issues to be imported from the CSV file
- Unless you made custom changes to any additional date and time fields or email address fields, leave formatting as default
- Map the CSV fields with the corresponding Jira fields as below:
- Issue id → Issue id
- Issue key → Issue Key
- issue type → Issue Type
- parent → Parent
- status → Status
- summary → Summary
- You can also reference below sample screenshot
- Select Next
- Verify status values map to your desired statuses in Jira
- For example, that the "To Do" status maps to the relevant status in your desired project
- Select Begin import
During CSV import, you can also include any other custom fields you wish in the CSV file and import them along with the correct parent-child mapping.
Demonstration of post-import results
If we imported our example issues as listed above, the end result would look like the below screenshot.