Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Xray Server to Xray Cloud migration

Joshua Rivera
Contributor
June 2, 2020

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.

 

Thanks

7 answers

Suggest an answer

Log in or Sign up to answer
2 votes
Yevgen Lasman
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.
November 17, 2020

@John Mengel, @Phil Branum,

There is a toolset available at XpandIt GihHub https://github.com/Xray-App/xray-cloud-mig 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.

Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 15, 2021

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.

-Gaurav

Yevgen Lasman
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.
April 16, 2021

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 "xray_syncTestExecWithTests.py" 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 # people like this
Mamta Kalwani April 23, 2021

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?

Yevgen Lasman
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.
April 23, 2021

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.

Mamta Kalwani April 23, 2021

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.

 

Mamta Kalwani May 12, 2021

Hi @Yevgen Lasman ,

What version of python did you use to run the scripts?

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.
May 17, 2021

Hi,
Xray is integrated into the Jira Cloud Migration Assistant (JCMA), and there is Early Adopters Program (EAP) already started.
Please file your application for the EAP [here|https://surveys.atlassian.com/jfe/form/SV_6SAs9OX0eAbGk5f].
Kind regards,
Rogério Paiva [Xray Support Team]

1 vote
Sergio Freire - Xblend
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.
November 23, 2020

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.

NOTE:

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, 

 

Sérgio

_______

Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile, and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Tran Tien dung
Contributor
March 1, 2021

Hi @Sergio Freire - Xblend 

Does the script also migrate Custom field of Xray?

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

Sergio Freire - Xblend
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.
March 2, 2021

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.

Regards,

Sérgio

Mamta Kalwani April 21, 2021

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?

Sergio Freire - Xblend
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.
May 13, 2021

Hi @Mamta Kalwani ,

I think the best is to reach out to our support to see if the team can help you; I think something is missing there, namely going to each project settings and enable the coverage for the story and epic issue types.

Meanwhile we released Xray v4.3 with preliminary support for built-in migration (without those scripts).

More info on that here.

Regards

Sergio

0 votes
Yasmin Romero Gutierrez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2023

Hello, Were you able to solve it? I have migrated a project from a server to the cloud with its respective xray, but it generates the same problems as you, I have spoken with Xray support but they do not know how to give me a solution, how did you fix it, thank you.

0 votes
Yasmin Romero Gutierrez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 27, 2023

Were you able to solve it? I have migrated a project from a server to the cloud with its respective xray, but it generates the same problems as you, I have spoken with Xray support but they do not know how to give me a solution, how did you fix it, thank you.

0 votes
Sofia Neto Canário
Contributor
May 18, 2021

Hi everyone!

 

We have great news!

You can now easily migrate Xray server data to cloud instances using the Jira Cloud Migration Assistant.

Check out the Xray 4.3.0 release notes and learn more about this feature here.

Don't hesitate to contact our support team if you have any questions.

Tran Tien dung
Contributor
June 21, 2021

Hi @Sofia Neto Canário 

I just migrate Xray by JCMA, but after Jira migration, I did not see Xray migration start, there is not migrateion process as mentioned in documentation.  Finally, I checked some Jira stories, I did not see any Xray data.

Do you know how I can see the migration process as below?

xray_migration_process.jpg

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.
June 25, 2021

Hi @Tran Tien dung 

It is necessary to sign up for the EAP.

This is the procedure for a while, probably until the end of the year.

Atlassian manages the EAP, and during the EAP phase, they will keep an eye on the process to make sure the migration is successful.

Without the EAP, only Jira data is migrated, the Xray data (or any other marketplace App) will not be migrated.

Thank you.

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

Maximiliano Javier Julio September 21, 2023

Hi @Sofia Neto Canário ,

In a comment below it is mentioned that to migrate Xray data from the server to the cloud it is mandatory to register with the EAP.


Is it still necessary to sign up for the EAP in 2023?

0 votes
José Domingues _Xray_
Atlassian Partner
June 5, 2020

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

Joshua Rivera
Contributor
June 5, 2020

Hi Jose,

 

I already did, here's our thread: https://jira.xpand-it.com/servicedesk/customer/portal/2/SUPPORT-24148

 

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

 

Thanks,

Joshua

Like # people like this
John Mengel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2020

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

0 votes
Alex
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 3, 2020

@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

 

Joshua Rivera
Contributor
June 5, 2020

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

Avishai Siag
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 11, 2020

Hi,

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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? 

Joshua Rivera
Contributor
June 15, 2020

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.

Alessandro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2020

Hello @Joshua Rivera

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

Thank you

Victor N. September 17, 2020

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 _Xray_ ?

 

Thank you for your help.

Phil Branum
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2020

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)...

TAGS
AUG Leaders

Atlassian Community Events