It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,277 views 12 24
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