How to create issue links between sub-tasks in a CSV import?


I’m importing a CSV file and I want to create issue links (issue “blocks,” issues “is blocked by,” etc.) between sub-tasks of the same task.

I have used Issue ID and Parent ID columns to create the sub-tasks, following directions from Importing data from CSV. All is fine and well with this step. 

Now here's where I run into the block. I’ve found documentation on linking issues in a CSV file import (How to Import Issue Links from a CSV Filethat says one column must be mapped as Issue ID and the other as the desired link type. However, since I’m not including any value in the Issue ID fields for sub-tasks, I can’t use those steps to create links between sub-tasks. 

Is there another way to create issue links between sub-tasks in a CSV import? 


NOTE: I know that I can do the linking manually once the issues are imported in JIRA, but I want to do this within the CSV import as this is a large upload. 

1 answer

This widget could not be displayed.

Hi Emilie,

If the issue that you are linking to is not already present in JIRA then in the Issue id column you can mention any unique random number. It need not to be a JIRA Issue key.


Hi Ravi, 

Thanks for the quick response. Yes, the issues are NOT present in JIRA; they would be newly imported with the CSV template. 


Unfortunately, if I'm to follow the directions laid out in Importing data from CSV, I can't have anything in the Issue ID for sub-tasks. (It seems is down right now, so I can't quote the exact line.) And since I can't include Issue IDs for sub-tasks, I have no way of linking sub-task issues. 


For reference, here's a super simplified version of what my template looks like:

Issue TypeSummaryIssue IDParent IDrelates tohas to be done beforehas to be done after
TaskTask A1 2  
Sub-taskSub-task A1 1   
Sub-taskSub-task A2 1   
Sub-taskSub-task A3 1   
Sub-taskSub-task A4 1   
TaskTask B2 1  
Sub-taskSub-task B1 2   
Sub-taskSub-task B2 2   
Sub-taskSub-task B3 2   
Sub-taskSub-task B4 2   


Any ideas? 

Hi Emilie, 

I'm running into this problem myself at the moment. 
Have you found a solution? 


- Tessa

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
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