Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xray Server to Xray Cloud migration

Hi, our team is doing a Jira Server to Jira Cloud migration as well as for Xray server to Xray cloud. We didn't have any issues with the Jira Cloud, however, for Xray cloud we the following issues:

1) Test Plans/Test Executions – Previous test execution results are not migrated to jira/xray cloud.
2) Test Coverage per user story links are also not migrated but the test cases were displayed under the “Issue Links” section on the user story/bug.
3) All of the test cases steps are not migrated.

Since Xray cloud now has new issue types, I have re-mapped our old issues types to the new ones but still have these issues.



4 answers

@John Mengel, @Phil Branum,

There is a toolset available at XpandIt GihHub which I was able to successfully use to move data from Server to Cloud. There are some prerequisites but in general it works.

The major issue is the performance, because there are limitations on Atlassian and XpandIt (Azure?) infrastructure sides.

Hi @Yevgen Lasman

Please let me know if you have used the scripts for a successful migration. I have been struggling with the scripts for last couple of weeks without any successful migration.

Thanks in advance.


I used them and was able to migrate successfully several month ago, yet there were few bugs in the code.

One of them is that names with double quotes were not migrated (tests, plans, etc.)

Other problem was in "" at the line with code

responseForUser = requests.get('' + GLOBAL_onCloudMig+'rest/api/3/user/search?query='

the URL must be not 'rest…' but '/rest…'

Finally don't forger to use "-export" and "-ignore" options when running these scripts and make sure to run them in proper sequence (it is documented in their readme file).

Hope this helps.

Like Mamta Kalwani likes this

Hi @Yevgen Lasman @Gaurav 

I am having many errors with this particular Test Execution script it doesnt recognise the emailaddress of the executer. Did you have this issue?

The code which wraps the data into the message packet is not the best, so yeah, there might be issues with some cases, e.g. is email address contains apostrophes, quotes, etc. I did not face this problem with email address, but it is the same as I had with item names with double-quotes.

the email adddress only has firstname.lastname.

So it links the execs to the tests
Just not the fact that someone has actually executed them.


Currently, Xray does not yet support the Jira Cloud Migration Assistant. We plan to provide this integration in early 2021.

To fill this gap until the integration is released our team created some scripts that can help you migrate your data.

These scripts are written in Python and are using the Xray REST and GraphQL APIs to fetch the Xray information from Xray Server/DC, and then import this information into Xray Cloud.


The scripts will not create new issues in Jira Cloud. The Xray issues must have already been migrated. Therefore, you first need to migrate the issues using the:

They will fill the gaps, namely:

  • Test specifications
  • Test Repository folders
  • Relations between Xray issues/entities, e.g. Tests in Test Plans, Tests in Test Sets, Preconditions, etc.
  • Test Runs

If you face any difficulties later on, feel free to reach out to our support.

For updates on the Jira Cloud Migration Assistant integration please keep an eye on this page.


Best Regards, 




Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile, and software development:

Follow me on Twitter:

Hi @Sergio Freire 

Does the script also migrate Custom field of Xray?

I'm struggling with their python script to migrate, that not really easy.

Hi @Tran Tien dung ,

the python scripts update Xray related data.

The custom fields you may have on the issues (e.g. Test, Test Execution, etc) they should have been imported using the  Cloud migration assistant ...

I'd recommend to reach out to our support to see if the team can help you somehow.

Note: the team is already working in a more clean process to make this migration; I don't have a timeline for it but it should happen in the short term.



HI Sergio,
Im having signifcant issues with Syncing Test Execs with Tests - commented on GitHub
Also the Test coverage panel does not update in Stories and Epics - why is that?

It worked for me in a pilot migration, but not as part of my wider migration
Heres what I did

Moved to cloud using CMA
reindexed every project within the project xray settings
switched on test coverage for stories and epics
ran scripts for Cucumber, Generic and Manual descirptions, Preconditions, Linking Pre conditions &Sets & Plans to Tests

Could you please help?

0 votes

@Joshua Rivera - I've shared your post with a few people at Xpand-IT, makers of the Xray Test Management for Jira app. We are working on improving the migration experience by making it easier to migrate apps. I'd love to connect with you on your migration experience so far if you'd be willing to chat. (I'm a product manager here at Atlassian working on the Cloud Migration Assistants and App Migrations). 

If you're willing, here's how to get in contact with me


Thank you for your response. I will check the link. We hope that this issue we are facing in Cloud will be resolved soon.


I'm having the same problem with Xray after migrating Jira to the cloud,

Is there any solution? I have hundreds of X-ray cards I cant use or see their content on the cloud

Alex Atlassian Team Jun 15, 2020

@Joshua Rivera @Avishai Siag - Sorry for the confusion. The link I provided is for a usability study we are conducting to build app migrations features in the Cloud Migrations Assistants. 

Would you mind sharing how you migrated your core data? Did you migrate using site backup / restore or did you use the cloud migration assistants? 

No worries. Yes we did the migration via the Cloud Migration Assistant. Now the issue we're currently facing are the execution results/test runs from the Jira/Xray Server that were not included in the migration to cloud.

Hello @Joshua Rivera

I'm facing with the same problem, how did you solve it?

Thank you

Hello @Joshua Rivera , @Alessandro ,

Same problem as you, is there finally a way to solve it ?

Or is this evolution still developing @Alex and @José Domingues _Xpand IT_ ?


Thank you for your help.

Same problem here. I am trying to manually migrate XRAY config & tests using API & python scripts, but it has been a very difficult process so far (and we are not even close to being done)...

Hi @Joshua Rivera

We'll need more information to better support your question. Please contact our team at our Service Desk

Best Regards,

Team Xray

Hi Jose,


I already did, here's our thread:


Really looking forward for single procedure feature for Xray project migration to Cloud. Hope this feature will be available soon.




Like # people like this

same here.  going back to Server until this is resolved.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Cloud Migration

Cloud migration resources roundup: May 2021

...est practices.   And don’t forget about the tried and true! Cloud Migration Center - central hub for all things Atlassian Migration Program. Includes links to our full resources page, s...

72 views 2 3
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