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

0 vote
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!

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 Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

54 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot