我们正在使用 Azure DevOps OSS 迁移工具,并观看视频和链接。
我们正在从一个 Azure DevOps 组织迁移到另一个组织。
我们经常遇到如下问题,迁移工具停止。
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.
我使用的是版本 10,在我的 configuration.json 中,我只使用 NodeStructuresMigrationConfig 和 WorkItemMigrationConfig 处理器。
"QueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')",
我迁移所有打开的工作项,然后迁移关闭的工作项。有时在迁移已关闭的工作项期间,迁移工具会创建重复的父项和空的工作项。
这是我的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
}
有人可以提供一些关于错误的信息吗?
谢谢,丹尼斯