solidify / jira-azuredevops-migrator

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

Error removing link #815

Open RoyalWulf opened 1 year ago

RoyalWulf commented 1 year ago

Describe the problem A clear and concise description of what the problem/bug is.

[I][16:00:57] Processing 954/57276 - wi '62245', jira 'US-6916, rev 5'. [W][16:00:57] '[Removed] US-6916/62245->US-5541/-1 [System.LinkTypes.Hierarchy-Reverse]' - target work item for Jira 'US-5541' is not yet created in Azure DevOps/TFS. [E][16:00:57] One or more errors occurred. [E][16:00:57] TF201036: You cannot add a Parent link between work items 62245 and 62251 because a work item can have only one Parent link. [W][16:00:57] ''US-6916', rev 5' - not all changes were saved.

This maybe the same as https://github.com/solidify/jira-azuredevops-migrator/issues/723 but has a slightly different error message

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

run wi-import

Tool version

3.0.139

Attachments

Please attach the following files:

[wi-import-log-230721-155604.txt](https://github.com/solidif US-6916 - Copy.json.txt y/jira-azuredevops-migrator/files/12157012/wi-import-log-230721-155604.txt) config-agile_SMS3 - Copy.json.txt

Alexander-Hjelm commented 1 year ago

Issue is that the Importer tries to add multiple parents to a single work item, which is not allowed in Jira.

Not sure atm if the issue is your side or ours, but we should definitely try and reproduce it and at the very least write a more helpful error message.

Can you tell if your issue has somehow been linked to multiple parents? Can you find a way of solving this, e.g. by changing the link types in the configuration?