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 vote
Accepted answer
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 Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,179 views 16 10
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