We are using the Azure DevOps OSS Migration tool and we watch the video and links.
We are migrating from one Azure DevOps organization to another organization.
We constantly encounter issue like below and the migration tool is halt.
Error:
[16:02:15 INF] [Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkValidationException: TF201066: You cannot add a Child link to work item 9690 because a work item can have only one Parent link. ---> System.Web.Services.Protocols.SoapException: TF201036: You cannot add a Child link between work items 9815 and 9690 because a work item can have only one Parent link.
I am using Version 10, in my configuration.json, I just useNodeStructuresMigrationConfig and WorkItemMigrationConfig processors.
"QueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')",
I migrate all open work items, then migrate the closed work items. Sometimes during migrating closed work item, the migration tool would create a duplicated parents and empty work item.
Here is my configuration.json:
{
"ObjectType": "MigrationTools.Core.Configuration.Processing.WorkItemMigrationConfig",
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"BuildFieldTable": false,
"AppendMigrationToolSignatureFooter": false,
"QueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')",
"OrderBit": "[System.ChangedDate] desc",
"Enabled": true,
"LinkMigration": true,
"AttachmentMigration": true,
"AttachmentWorkingPath": "c:\\temp\\WorkItemAttachmentWorkingFolder\\",
"FixHtmlAttachmentLinks": false,
"SkipToFinalRevisedWorkItemType": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": true,
"PauseAfterEachWorkItem": false,
"AttachmentMazSize": 480000000,
"CollapseRevisions": false,
"LinkMigrationSaveEachAsAdded": false
}
Can someone please provide some light on the error?
Thanks, Dennis
This should be resolved as of v10.2.11 shipped on Sun at 14:30 by Gordon Beeming.
https://github.com/nkdAgility/azure-devops-migration-tools/issues/452
If it is still not working then please add your information to the ticket above.