Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using CSV Importer - get warnings when trying to link tasks

David Blake July 22, 2024

I am going to have to make a lot of jira tickets so that will have epics, tasks, subtasks, and linkages. I thought I would use the CSV importer to make my job easier. 

Linking parent and child relationships is working no problem, but when trying to specify linkages between tasks (eg. "relates" or "blocks") I am getting these warnings:

The validation process has found 7 warning/s

  • Issue link 'Blocks' between '3' and '9' cannot be created - at least one of the issues couldn't be found.
  • Issue link 'Relates' between '3' and '6' cannot be created - at least one of the issues couldn't be found.
  • Issue link 'Blocks' between '4' and '10' cannot be created - at least one of the issues couldn't be found.
  • Issue link 'Relates' between '4' and '7' cannot be created - at least one of the issues couldn't be found.
  • Issue link 'Blocks' between '6' and '9' cannot be created - at least one of the issues couldn't be found.
  • Issue link 'Relates' between '6' and '3' cannot be created - at least one of the issues couldn't be found.
  • Issue link 'Blocks' between '7' and '10' cannot be created - at least one of the issues couldn't be found.


I am just trying to link on the Issue Id column ids

Here is the CSV I am using:

Issue Type,Summary,Description,Issue Id,Parent,Relates,Blocks
Epic,[Import test] Epic Test 1,This is a description for Epic 1,1,,,
Task,[Import test] iOS tickets,This is a description for Task 1,2,1,,
Sub-task,[Import test] iOS tickets - subtask 1,This is a description for iOS Subtask 1,3,2,6,9
Sub-task,[Import test] iOS tickets - subtask 2,This is a description for iOS Subtask 2,4,2,7,10 Task,[Import test] Android tickets,This is a description for Task 2,5,1,,
Sub-task,[Import test] Android tickets - subtask 1,This is a description for Android Subtask 1,6,5,3,9
Sub-task,[Import test] Android tickets - subtask 2,This is a description for Android Subtask 2,7,5,,10
Task,[Import test] CAL tests,This is a description for Task 2,8,1,,
Sub-task,[Import test] Remove CAL test 1,This is a description for CAL Subtask 1,9,8,, Sub-task,[Import test] Remove CAL Test 2,This is a description for CAL Subtask 2,10,8,,

 
Does anyone know where I am going wrong?

2 answers

1 accepted

1 vote
Answer accepted
David Blake July 22, 2024

Ok I just decided to go ahead and import anyway. Turns out its just a problem with the validator. Importing did the linkages no problem using using just the Issue Id column

2 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

Hi @David Blake 

Welcome to the community.

Simply said, you need to reference issue links the same as parent child.

See this KB article, it says it only applies to Server and DC, but the same logic should apply to Cloud.

how-to-import-issue-links-from-a-csv-file-in-jira 

So you need to make 2 imports.

Initially import your issues, then import the links based on the created issues key

David Blake July 22, 2024

Hi Marc,

Yeah - thats what I am doing (see my CSV example). 

I haven't actually tried all the way importing yet as I got the warnings. Should I try anyway then?

Like Sami likes this
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

Hi @David Blake 

I just made an edit on my previous comment.

It's a 2 step process.

The messages you receive are correct. Linking can only be established when the issue exits.

On the initial import Jira is not aware of your issue yet 

David Blake July 22, 2024

Ahhh I see. So I do the first import. Then I have to go through a build a table of all the Jira ticket Ids (eg. IOS-12345, AND-54321) - then work out the links and report that?

No way to use the Issue Id column as per setting the parent-child then?

Like Sami likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events