You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi everyone, I am using jira server v8.22.2
I would like to import 'sub-task' from CSV to JIRA linking the sub-tasks to existing task, and I already get parent id from export csv
The CSV is like:
when i import i cannot find mapping "parent_key"option, so i only use parent_id mapping to make parent-child relationship. and i have tried not using issue_id, or using parent_key to map the parent-child relation. it always appear parent id error. what should i do to fix this problem?
Hi @Umi
Please read this guide here https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html:
Creating sub-tasks
You can create sub-tasks of issues through a CSV file import by encapsulating this structure in your CSV file. To do this:
- The CSV file must have two additional columns whose headings should be named similarly to Issue Id and Parent Id.
- Ensure that each regular (non sub-task) issue is given a unique (sequential) number in the Issue Id column. Do not include any value in the Parent Id fields for regular issues.
- ***** ----> To create a sub-task of a regular issue in your CSV file, reference the unique Issue Id number of the regular issue in the Parent Id column. Don't set any value in the Issue Id fields for sub-tasks. <-----*****
even i don't map the issue id but it still appear same error. does it means that i need to add one more row about issue-35692 and give it an id to map the relation?
using nevigator> system > external import> update issue to create sub-tasks?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't have any problem importing tasks & subtasks together:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mean with the following csv example I cannot map the parent id with exist task.
is Jira server only can import sub-task with a csv file with both task and sub-tasks?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Umi your csv, if you want to import ONLY sub-tasks, must be like below:
In your case, copy/paste the "parent key" to the "parent id" column and delete completely the "parent key" column.
I've tried it and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Kindly mark my answer as accepted, in order to help others in this community with similar questions. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.