How to import sub tasks through CSV, I have already loaded Story but i want to load sub tasks also and attach it to the story.


2 answers

1 vote

You need to provide each line with an issue key under which it will become a sub-task

Do I need to give Issue Key i.e story ID from JIRA.

What if I want to load story and sub task at same time can we do that..

I have to migrate all from Rally to Jira

That is what I said, yes.

However, if you want to do tasks and sub-tasks at the same time, then you need a different approach.  You won't have a list of tasks with existing JIRA ids, so in your CSV, you need to show which is going to be the parent.  I wrote it up at although the documentation for import says something very similar now.

You can configure your CSV file with the following columns.

IssueKey, Summary, Description, DueDate, Estimatedtime(Seconds), ParentKey.

IssueKey - Is the key to identify the Issue(Story, Task, Defect any other which we can map in same CSV File as parentKey)

ParentKey - Can be blank, reference IssueKey from Same CSV File or issue key(ABC-123) in your JIRA Project.

EstimatedTime - Convert to Seconds (For smooth import)

While importing issues to JIRA, you need to map CSV File Headings(Columns) with JIRA Issue Field Names.

IssueKey --> IssueId or IssueKey

ParentKey --> ParentID


Before you start importing, verify the data import.

If any errors you can correct and import again.


Don't forget to save your mapping columns as "Configuration File" which you can use later with same format of CSV file.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

20 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