Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,187
Community Members
 
Community Events
168
Community Groups

Test cases importer, Link "test" to multiple issues

I am trying to upload Test in Jira using test case importer tool, Aim is to link one test cases with multiple existing issues (epic and user story) in Jira using Link "tests", tried with below 2 approach.

1) in excel created a column and added multiple issues separated by ",". importer resulted in error.

"errors": [
{
"elementNumber": 0,
"errors": {
"otherErrors": [
"Issue does not exist or you do not have permission to see it."
]
}
},

2) made 2 columns for 2 different issues to which i want to link this test cases but when i am trying to map both these fields using Link "tests", it only allows me to map to one field

in below screen shot , i want to map my test cases both to "Epic ID" and "User story id" using link "tests".

 

i am using Jira-Xray-Cloud deployment.link_testcaseimporter.png

 

2 answers

1 accepted

Hi @Mohammad Aamir ,

I found a way to link a test to multiple issues, components and or labels. this on importing test cases via CSV. Use comma as a main separator in you file


Adjust the values in these columns;

  1. Replace the comma (,) with a semicolon (;)
  2. Remove the spaces between the option

I have tested and used this option in a Jira Cloud environment.

Thank You @Marc Koppelaar , Yes it works.

Hi @Mohammad Aamir 

Currently, it is not possible to link more than one issue at a time to an Imported Test Case using TCI.

If you have any additional questions, please reach out to Xray support and the team will be glad to help you out.

 

Best Regards, 

Sérgio Freire, Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Thank You Sergio,

I was using Jira(X-Ray) server addition before, in that version i was able to link multiple issues and was also able to link test cases to multiple plans (System Test plan/regression Test plan) using "Test plan association" 

The "Test Plan association" itself is missing in X-Ray cloud.

 

Documentation of X-Ray on cloud says below, doesnt this mean i can link multiple issues?

 

Issue links limit

Due to technical restrictions there is a limit to the total amount of links the import file can have. The limit is 2000 issue links apart from the first one in every test.
In other words, every test in the import file can have an issue link defined, every additional issue link after that one, added up can be no more than 2000.
An error will be shown if this limit is exceeded

Well, Xray server and cloud are similar but yet different products, built using different technologies and also depending on different Jira (server/cloud) capabilities.

Thus, some things may not be available in Xray Cloud  (or the other way around).

Calculated custom fields are such an example (similar to JQL functions). While in Xray Server you have a bunch of them, unfortunately in Xray Cloud they are not available due to Jira Cloud architecture/API restrictions.

Test Plan associations, however, could, in theory, be  implemented not as custom field but as something internal just for the specific purpose of the Test Case Importer.

My recommendation is for you to reach out Xray support and ask for improvement, detailing the exact associations that you would like to do whenever importing test cases in bulk.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events