Parent field for linking sub-tasks to Story/Task

Hi All,

 

    I have a situation where I want to import a massive set of sub-tasks (via CSV file) into JIRA. During the import I'd like to link each sub-task to an existing standard issue (story/task). Is there a field in the sub-task similar to the "Epic Link" field for story/task?

   For various reasons, I need to use story/task as the parent issue.

 

Thanks,

  Randy

1 answer

1 accepted

1 votes
Tarun Sapra Community Champion Aug 02, 2017

Yes, it's doable, you add a column for issue id and add the existing issueKey in CSV so that while importing the issues, all the issues become sub-tasks for the existing issue.

Possible duplicate - https://community.atlassian.com/t5/JIRA-questions/CSV-Importing-of-sub-tasks-and-linking-to-existing-Story/qaq-p/224226

Hi Tarun,

    Thanks for the tip!

    I was able to successfully upload the CSV using an empty Issue Id field and parent Id (issue key of parent story). I confirmed it created the subtask under the story as needed. 

   However, I got the following errors after the import:

Import completed with 14 errors:

Error importing issue [externalId='autoid-xxxxxxxxxxxxxxxxx', summary='null']

Error importing issue [externalId='autoid-xxxxxxxxxxxxxxxxx', summary='null']

Error importing issue [externalId='autoid-xxxxxxxxxxxxxxxxx', summary='null']

Error importing issue [externalId='autoid-xxxxxxxxxxxxxxxxx', summary='null']

Error importing issue [externalId='autoid-xxxxxxxxxxxxxxxxx', summary='null']

   Any ideas what these errors mean?

Thanks,

  Randy

Please disregard. 

I had extra junkin the CSV file that caused the errors!

 

Thanks,

  Randy

Tarun Sapra Community Champion Aug 02, 2017

Please accept/upvote the answer if it works for you. thanks.

while csv import, can you fill below deatails to link as task to sub-task. make sure add details for task and sub-task as well.

Summary, Issue key, Issue id, Parent id, Issue Type, Project key, Project name, Project type

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,167 views 13 19
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
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