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 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.
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.
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
Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...
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