Sorry, we don't support your browser.  Install a modern browser

Import for JIRA Xray#165

There are development teams that use JIRA Xray. So they need to have the ability to import CSV files exported from JIRA Xray with test assets.

4 years ago
Changed the status to
Planned
4 years ago
Changed the status to
Unassigned
4 years ago
?

I already migrated from Xray and I can highlight what tweaks I needed for migration:

  • different headers configs for Xray Enterprise
  • for 1000 test cases xray token expires after 200 tests, also Jira may start complain about reached limits. So I save all downloaded info into json files and do not request it again when rerunning the script. It can be optional –continue parameter for the script
  • I didn’t find a way to migrate datasets (parameters) fully automatically, so I exported them to csv from every test case (can be done quicker from testing board list), and then parsed ticket key from csv file name and attached parameters to Testomat case. The only issue was with unsupported coma character in Testomat
  • Also I added migration for attached Jira links for preferred Jira projects (not all).
  • Old Xray Id I migrated to custom field to be able to quickly find the source
  • before migration check that you don’t have folders with both folders and test cases in xray, folder should only contain only folder OR only test cases
  • just a bonus trick. I had trouble automating some Testomat api in script. So I copied curl from devtools and pasted it to Postman and then started run in Postman for the request with json data to update all test cases with new label, links etc. json data I generated using migration script
4 months ago
?

*addition to the previous comment: I keep info about folders and test cases that are already migrated and their Testomat Ids. So I could continue restarting script until it’s done and I could add additional script logic later that goes through already migrated tests and updates them in Testomat.

4 months ago