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

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.

 

Thanks

5 answers

@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 Apr 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

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

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.

 

Hi @Yevgen Lasman ,

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

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]

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

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.

Regards,

Sérgio

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?

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

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.

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

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]

0 votes

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: 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

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

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.

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

 

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

Suggest an answer

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

⭐️ Star in a Migrations Marketing Video! ⭐️

Hi all! Our Migrations Marketing team is looking for customers who have migrated over 1,000 users to Atlassian Cloud (Jira Software, Confluence, Jira Service Management, or Bitbucket) to be feature...

216 views 0 11
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