Our company recently switched from Xray to Zephyr. I am looking to see if I can programatically migrate the test cases from Xray to Zephyr.
I have exported tests from Xray into JSON format using the Xray REST API. My question is if ZAPI(Zephyrs REST API) would allow me to import these tests as is? Since ZAPI is an additional cost I like to know if this can indeed be achieved first before making any purchase.
Thanks for your help
That's cool @Imran Ali.
If you're are going to buy ZAPI, then yes, the migration could be done using ReST.
The steps would be as follows for each issue.
Once you have all the test cases imported, you can now make use of the other ZAPI resources to create Test Cycles, folders etc. The complete documentation of ZAPI ReST calls can be found here.
I believe this helps. Let me know if you have any queries and I will try my best to answer it. If you think these are feasible, please mark the answer as accepted so that it will be easy for others to refer.
Hi @Imran Ali
I am currently looking into JIRA add-on for test management. I am inclined towards XRay over Zephyr because of the cost differences. I wanted to ask how was your experience with Xray and why did your organisation moved from Xray to Zephyr?
Thanks,
Sarah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also try export the issues in CSV and try to export using a desktop tool provided by Zephyr to import the issues in CSV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply. I am not sure how I can export the issues from Xray into CSV format programmatically. I am using the REST API calls on Xray which returns a response in JSON format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Arun_Thundyill_Saseendran hey.. can you help him out?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Mahesh S
@Imran Ali Yes. There is no direct way to convert JSON to CSV. However, it is quite simple to extract the fields that are required into a CSV format file. And then on, importing it to Zephyr can be done using the Zephyr Import Utility.
You can get started with the Zephyr Import Utility here.
The Utility can be downloaded from here.
In this way, if you do not plan to use ZAPI for integrating with your Automation framework, you need not purchase just for the sake of migration.
Let me know if you face any issues. I can try helping you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Arun. I am familiar with this utility already. There is a chance the team would adopt ZAPI already for CI so I like to know if what I am trying to do can be done with ZAPI without using this utility. If so I can postponed the migration till we get ZAPI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.