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
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

688 views 6 13
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