solidify / jira-azuredevops-migrator

Tool to migrate work items from Atlassian Jira to Microsoft Azure DevOps/VSTS/TFS.
MIT License
264 stars 228 forks source link

Cross-project Parent links not established when migrating with download option 0 #1052

Open GeethikaKrishnan opened 5 months ago

GeethikaKrishnan commented 5 months ago

Description:

Issue occurs when migrating cross project parent-child links with download option 0.

I have a Project A and a Project B. All the epic links are present in project A and the child items are in project B. I am migrating with download options 0. When I migrate Project B (child links) first and project A (epic links) second, the cross-project parent-child links do not get established. At the same time, if I were to migrate A first and then B, the links get established.

To Reproduce:

• Create 2 projects in JIRA and create parent child links between items in two projects • Migrate the project with the child links first to ADO. • Keeping the itemsjournal file, migrate the second project with the child links to ADO • Check if parent child links are getting established in ADO.

Tool version v3.0.328 Also tried the same migration with version v3.0.420

Attachments

Alexander-Hjelm commented 5 months ago

Related to https://github.com/solidify/jira-azuredevops-migrator/issues/745?

GeethikaKrishnan commented 5 months ago

If I'm not wrong, #745 seems to be an issue with linking sub-tasks to tasks as there is no defined link mapping.

Here I am trying to migrate with download options 0 so that no other issues (issues not in migration query) get migrated. I am trying to migrate two separate projects with cross-linked items.

If these items that are migrated in two phases, and the second phase of the migration contains Epic links to the issues in first phase of the migration, the links do not get established even after both migrations are done.

Alexander-Hjelm commented 5 months ago

Ok! Have you seen and followed out guidelines when it comes to migrating multiple projects in sequence with download-options = 0? See: https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/faq.md#scenario-2-multiple-projects

GeethikaKrishnan commented 5 months ago

Yes, I've looked into this and as per the instructions, I've used separate config files and separate workspace folder for each migration. I've relocated the itemsJournal.txt file into the workspace folder for the next migration. I have not used the --force flag. Is there anything else I should be doing or something I've missed?

Alexander-Hjelm commented 5 months ago

Ok! We will have to look into it. Sounds like something fishy could be going on here with how links are interpreted. Marking as bug.

I assume that you have mapped the Child link type as well as the Parent Link type in your config?

GeethikaKrishnan commented 5 months ago

Yes. I've attached the config for both the migrations which contains the mappings