Importing Sub-Tasks via CSV

We have JIRA Core - Server.  I need to move sub-tasks from 1 project to another.  I export the sub-tasks via CSV, made the adjustments to Parent ID and Issue ID, and used the CSV import tool.  I receive an error that the Parent ID is invalid and none of my sub-tasks will import.  So I created a 'test' sub-task in said Issue.  I exported and found that the Parent ID matches PERFECTLY.  I cannot find much documentation in the Atlassian 7.3 for importing sub-tasks (older documentation discusses it, but their screens have obviously changed since then). 

How are you importing sub-tasks correctly with the Parent ID?

2 answers

This widget could not be displayed.
Brant Schroeder Community Champion May 25, 2017

Chelsea,

  If you are just moving the tasks from one project to another I would suggest using a bulk change and migrating them.  If the tasks need to remain in the old project and you have to create them in the new project you will need to make sure that the following is defined for each sub-task:

  • Issue Id
  • Parent Id
  • Issue Type

If any of the three items are missing you will get an error and they will not import.  

An example would be:

Issue ID, Parent ID, Summary, Issue Type
001, ASD-01, This is Sub Task One, Sub-Task
002, ASD-01, This is a Sub Task Two, Sub-Task
003, ASD-01, This is a Sub Task Three, Sub-Task

The issue ID must be unique to the imort file, the parent ID must match an issue in the JIRA project.

If you use the format I provided you should be good to go.

Thanks
Brant

 

Be aware that import engine uses External Issue ID, not internal ID from the issue url

where do you find the External Issue ID?

You can try to edit the jira ticket to assign a unique value to External Issue ID then use that unique value as Parent ID during importing. Hope this can help!

This widget could not be displayed.

I tried doing this sub-task thing, but it's showing me that Parent ID not found. Even though I have the exact issue number in Jira to match. 

Why is that?

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

59 views 0 1
Join discussion

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