Cloud to cloud migration with Xray tests

Dylan Pernin October 18, 2021

Hello,
We have to migrate a Team managed project containing Xray tests to a new Team managed project on a different Jira cloud instance without losing the links between the Xray elements.
 We plan to do it like this:
- Export with GraphQL the links between tests and tests plans, tests sets, tests executions
- Recover the keys from the IDs
- Add the links between the elements to the new project with GraphQL


Is there another way to do this more simply? Has anyone already done this? A script already exist to perform this migration?

Thank you in advance for your reply,
Regards,Dylan

2 answers

1 accepted

0 votes
Answer accepted
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2021

Hi @Dylan Pernin 

There is no out-of-the-box solution for this unless someone else has developed some script to do this.

It could be accomplished using GraphQL, but it is necessary to keep track of the Keys, IDs, and relationships between the issues to replicate the same links on the destination instance.

Any additional questions, please get in touch with Xray Support (http://xraysupport.getxray.app); we would gladly assist you.

Thank you.

Kind regards,
Rogério Paiva [Xray Support Team]

0 votes
Stephen.Marsh February 25, 2022

Hi @Dylan Pernin , did you manage to achieve this? I have a similar requirement that I am currently looking at options for. Regards, Steve

Dylan Pernin February 25, 2022

Hi @Stephen.Marsh, we are currently working on a nodeJS script using GraphQL to manage this. 
The Xray support created an issue in order to gather interest for a solution : https://jira.getxray.app/browse/XRAYCLOUD-4703

Regards,

Dylan

Like Stephen.Marsh likes this
Stephen.Marsh April 6, 2022

Hi @Dylan Pernin 

I am due to start work on this now... Just wondering whether you managed to migrate everything successfully in the end?

Suggest an answer

Log in or Sign up to answer