Hi,
I am trying to migrate Xray from DC to cloud.
In this process, I am trying to run python Scripts provided by the vendor here: https://github.com/Xray-App/xray-cloud-mig
The file xray_variables.py requires ID of a custom Field "GLOBAL_preConditionDetails".
However, I have not been able to find any such custom field.
The custom fields available in Jira DC instance are: "Conditions", "Pre-Condition Type", "Pre-Conditions association with a Test" and "Tests association with a Pre-Condition".
In readme file for python scripts (for migrating to Xray Cloud) https://github.com/Xray-App/xray-cloud-mig/blob/master/README.md
In the section "Understanding the Global Variables" for "JIRA Onpremise", the last custom field is specified as :
GLOBAL_preConditionDetails (The ID of the Pre Condition details customfield)
Can anyone here help me understand which field is the "GLOBAL_preConditionDetails"?
I just confirmed that it will be the "Conditions" field.
Putting this answer so that anyone having the same query can find the answer here.
Hello @Deepanshu Natani
Kindly share if you have been successful with the migration using the scripts. I have been struggling with the scripts for the last 2 weeks where I am trying to migrate the Xray server data to cloud.
Any guidance would be really helpful to achieve the migration.
Thanks in advance.
-Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Gaurav ,
Yes, after going through a lot of issues, I was able to migrate Xray Data to Cloud.
Can you elaborate on the issue you are facing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have executed all the scripts and quite a few of them are erroring out. Some of the errors are as below:
2021-04-12 13:07:08,792 - root - INFO -
{"errors":[{"message":"Error updating Test: test with id 10388 not found!","locations":[{"line":1,"column":13}],"path":["sjktzjvsax"]},
{"message":"Error updating Test: test with id 10388 not found!","locations":[{"line":1,"column":176}],"path":["lmrxvklyxk"]},{"message":"Error updating Test: test with id 10392 not found!","locations":[{"line":1,"column":367}],"path":["knrrrejpsl"]},
{"message":"Error updating Test: test with id 10392 not found!","locations":[{"line":1,"column":530}],"path":["dpuotawdlt"]},
{"message":"Error updating Test: test with id 10398 not found!","locations":[{"line":1,"column":707}],"path":["xnpdsendbo"]},
{"message":"Error updating Test: test with id 10398 not found!","locations":[{"line":1,"column":870}],"path":["lkpnqfclnk"]},
{"message":"Error updating Test: test with id 10402 not found!","locations":[{"line":1,"column":1061}],"path":["hrscrrqaub"]},
{"message":"Error updating Test: test with id 10402 not found!","locations":[{"line":1,"column":1224}],"path":["urtiyxclvj"]},
{"message":"Error updating Test: test with id 10406 not found!","locations":[{"line":1,"column":1398}],"path":["foacgukvrl"]},
{"message":"Error updating Test: test with id 10406 not found!","locations":[{"line":1,"column":1561}],"path":["xvytiacudv"]}
],
"data":{"sjktzjvsax":null,"lmrxvklyxk":null,"knrrrejpsl":null,"dpuotawdlt":null,"xnpdsendbo":null,"lkpnqfclnk":null,"hrscrrqaub":null,"urtiyxclvj":null,"foacgukvrl":null,"xvytiacudv":null}}
2021-04-12 13:07:08,795 - root - INFO - Ohh dear...
2021-04-12 13:07:08,800 - root - INFO - {"errors":[{"message":"Error updating Test: test with id 10388 not found!","locations":[{"line":1,"column":13}],"path":["sjktzjvsax"]},{"message":"Error updating Test: test with id 10388 not found!","locations":[{"line":1,"column":176}],"path":["lmrxvklyxk"]},{"message":"Error updating Test: test with id 10392 not found!","locations":[{"line":1,"column":367}],"path":["knrrrejpsl"]},{"message":"Error updating Test: test with id 10392 not found!","locations":[{"line":1,"column":530}],"path":["dpuotawdlt"]},{"message":"Error updating Test: test with id 10398 not found!","locations":[{"line":1,"column":707}],"path":["xnpdsendbo"]},{"message":"Error updating Test: test with id 10398 not found!","locations":[{"line":1,"column":870}],"path":["lkpnqfclnk"]},{"message":"Error updating Test: test with id 10402 not found!","locations":[{"line":1,"column":1061}],"path":["hrscrrqaub"]},{"message":"Error updating Test: test with id 10402 not found!","locations":[{"line":1,"column":1224}],"path":["urtiyxclvj"]},{"message":"Error updating Test: test with id 10406 not found!","locations":[{"line":1,"column":1398}],"path":["foacgukvrl"]},{"message":"Error updating Test: test with id 10406 not found!","locations":[{"line":1,"column":1561}],"path":["xvytiacudv"]}],"data":{"sjktzjvsax":null,"lmrxvklyxk":null,"knrrrejpsl":null,"dpuotawdlt":null,"xnpdsendbo":null,"lkpnqfclnk":null,"hrscrrqaub":null,"urtiyxclvj":null,"foacgukvrl":null,"xvytiacudv":null}}
Thanks in advance.
-Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible for you to share the general approach which you took for the migration and troubleshooting the issues.
Thanks in advace.
-Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Gaurav
This error is most probably occurring because one of the test cases which the script is trying to sync is not present on your Cloud environment.
General approach:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Xray is integrated in 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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deepanshu,
Please suggest the best approach and if any document for the flowing issue and Friday is deadline for these...
In the below activity two companies are separate.(Ex. A&B Co.. now separate A company and B company) we need to do the B company projects migrate from Data Center to cloud.
1) I want to migrate data from q-test to x-ray in Jira. I have 100 projects in my Data Center these need to be migrated to Jira cloud. May I know the best procedure to perform these activity. My q-test is no more using in Jira cloud.
2) And one more migrate data from x-ray to x-ray in Jira cloud. I have 50 projects in my Data Center these need to be migrated to Jira cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.