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

Xray: Importing Test set and Pre-conditions

Harinder Sep 11, 2017

I want import the test set and pre-conditions associated with the tests using Xray test case importer, I have more than 120 test set which contains multiple pre-conditions associated with the tests. I'm using the mapping as presented in the screenshot below. Test sets and pre-conditions associated with the tests are not imported but rest of the fields are imported correctly. probably it is because of the fact that , it cannot create test set / pre-conditions without summary , what is the solution in this case ? 

CSV file format

SampleCSV.JPG

Mapping using xray test case imported

ImportingTestCases.JPG

2 comments

patin Sep 11, 2017 • edited
s
José Domingues Feb 14, 2018

Hi Harinder,

As of version 3.0, Xray's built-in Test Case Importer is only able of creating (Manual) Tests.

During the mapping, you can link the Tests with some other entities including Pre-Conditions, Test Sets and Test Plans using the following custom fields :

  • Pre-Condition association with a Test
  • Test Sets association with a Test
  • Test Plans associated with a Test **

More info about custom fields here: https://confluence.xpand-addons.com/display/XRAY/Custom+Fields+and+Screen+Configuration and https://confluence.xpand-addons.com/display/XRAY/Using+custom+fields 

Thus, if you need to create Tests and related Pre-Conditions, for example, you would need to

  1. Start by creating the Pre-Conditions using Jira's CSV importer, as detailed here: https://confluence.xpand-addons.com/pages/viewpage.action?pageId=21760052#ImportingandExportingTests(CSV)-Pre-Conditions
  2. Create the Test cases, using Xray's built-in Test Case Importer; at this moment you could specify a column with all the issue keys of the related Pre-Conditions (you would need to know the related issue keys obtained in the first step)

You could also do it the other way around:

  1. Create the Test cases, using Xray's built-in Test Case Importer
  2. Create the Pre-Conditions using Jira's CSV importer and use the custom field "Tests association with a Pre-Condition" to identify all linked Test issues (you would need to know the related issue keys obtained in the first step)

We may improve Test Case Importer in the future in order to support automatic creation of Pre-Conditions. Please open an improvement request using our Service Desk here: https://jira.xpand-addons.com/servicedesk/customer/portal/2 

 

Best regards,

Xpand Add-ons Team

Like # people like this

Comment

Log in or Sign up to comment
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

186 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you