Forums

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

How to map test cases with story ID while importing test cases using Importer

Vaibhav
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2020

Hello ,

Suppose , i have 5 test cases which are developed for one story(Jira Link)

Now when i import these test cases from excel..Then how can i map these test case to story while import itself?

Which field to be used in Importer ?

1 answer

0 votes
Ste Wright
Community Champion
August 7, 2020

Hi @Vaibhav 

It depends what you mean by Jira Link - are these Sub-tasks of the Story? Or issues at the same level which need to be linked via linked issues?

------------------

Linked Issues:

  1. Create a new CSV file
  2. You'll need these column headers at a minimum - Summary, Issue Type and the Link Type. The Link Type could be Cloners, Blocked, etc.
  3. Populate Summary and Issue Type. Also add any other field values you need
  4. Under the column titled by a link type, provide the Story's Issue Key which created Tests will link to, in each row
  5. Save and upload the file

During the upload, at the "Map Fields" step, map the column header link type to the equivalent link type in Jira. If you type in "link" all the options should come up.

Once uploaded, the new Test issues will be linked to the Story.

------------------

Sub-Task-Tests:

  1. Create a new CSV file
  2. You'll need these column headers at a minimum - Summary, Issue Type, Issue ID, Parent ID
  3. Populate Summary and Issue Type. Also add any other field value you need
  4. Under the column Parent ID, provide the Story's Issue Key which will be the parent of these issues
  5. Under Issue ID, provide a unique identifier per row - this can just be 1, 2, 3, 4, 5, etc
  6. Save and upload the file

Once uploaded, the Sub-Task-Tests will be children of the Story.

------------------

Let us know if either of these are the right option for you.

If you need any further help with issue importing - let us know you are using the user importer (Issue Search > Import from CSV) or the admin importer (Jira Settings > System > External System Import) - so we can advise further.

Ste

Vaibhav
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2020

@Ste Wright 

Thanks for prompt reply.

I meant to link issues not sub task 

Now , 1 question for linked issues solution you gave , at point 4 , what is meant by Story's Issue Key 

Suppose story link is : https://jira13.***.net/browse/NSAWCP-10174

 

Then issue key will be the whole link or just the number 10174 or something else ?

Ste Wright
Community Champion
August 7, 2020

Hi @Vaibhav 

The issue key is the "project key-number" - so in this case it is NSAWCP-10174

Ste

Suggest an answer

Log in or Sign up to answer