You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue with migrating project links from JIRA to ADO following a project name and key change. Originally, the project key was OTE. After working on this project for some time, the key was changed to RTE.
The problem arises with the links between items in the project. While these links appear correctly in the individual item JSON exports from JIRA (showing the old project key OTE), they are not established when the data is imported into ADO.
During the migration process, these links fail to map correctly in ADO, resulting in missing links.
To Reproduce
Steps to reproduce the behavior:
Initially, the project was created with key OTE. The project was worked on for a while.
The project key was changed to RTE.
There are links within items that were created before and after the project key change.
Export the project items from JIRA and import into ADO.
Marking as a bug, but we will not commence work at the moment. I am so far unsure of whether or not there is anything we can do in the tool to counteract faulty/missing data from the Jira Rest API.
The first possible solution that comes to mind would be to do a search replace on a regex pattern, for example the following:
"TargetOriginId": "(OTE)-\d+",
Here, capture group 1 would be replaced with RTE, where OTE is the original project key and RTE is the new project key. This would effectively preserve the issue number but modify the project key.
Such a solution would need to be toggleable from the config.json file.
One workaround would be to perform the above search-replace operation manually across all .json-files in the migration workspace (top level files only), for example using visual studio code or a scripted solution. Have you tried that? The search-replace operation must be performed prior to the ADO import.
Describe the problem
I am experiencing an issue with migrating project links from JIRA to ADO following a project name and key change. Originally, the project key was OTE. After working on this project for some time, the key was changed to RTE.
The problem arises with the links between items in the project. While these links appear correctly in the individual item JSON exports from JIRA (showing the old project key OTE), they are not established when the data is imported into ADO.
During the migration process, these links fail to map correctly in ADO, resulting in missing links.
To Reproduce
Steps to reproduce the behavior:
Initially, the project was created with key OTE. The project was worked on for a while.
The project key was changed to RTE.
There are links within items that were created before and after the project key change.
Export the project items from JIRA and import into ADO.
Tool version
v3.0.328
Attachments
config.json
RTE_POC.json
jira-export-log.txt
jira-export-log-240729-092846.txt
wi-import-log.txt
wi-import-log-240729-105834.txt
Screenshots
Item RTE-1596 in JIRA with 2 linked items, RTE-1474 and RTE-1388
In the exported json file of RTE-1596, links are shown as,
After import, this is the ADO work item's link section (RTE-1596)
At the same time, if I were to go into the individual item json and manually change the link from OTE to RTE, it gets established in ADO.
(manually changed 'OTE-1474' to 'RTE-1474' in RTE-1596's json.
This is how ADO shows links when exported after the manual change.
The text was updated successfully, but these errors were encountered: