Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Cloud to cloud migration with Xray tests

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,

2 answers

1 accepted

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 (; we would gladly assist you.

Thank you.

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

0 votes

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

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 :



Like Stephen_Marsh likes this

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
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,728 views 37 47
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