0

我们需要您的帮助才能将链接迁移到另一个组织。我们使用的是 azure DevOps 迁移工具 11.6 版。

我们使用此工具运行了完整迁移,似乎工作项已正确迁移,但链接正在跳过迁移。

这里是我们需要迁移的东西。

像图像一样的附件 与关联的父子关系和我的模板的相关链接是(源)IP CMMI 和(目标)Scrum。运行迁移时出现以下错误。请帮我解决这个问题。

我们在https://github.com/nkdAgility/azure-devops-migration-tools/issues/662提出问题

我们收到此错误: Migrating link for 36597 of type RelatedLink [SKIP] Unable to migrate link where Link of type System.LinkTypes.Hierarchy-Reverse where wiSourceL=36597, wiSourceR=36591, wiTargetL=6222, wiTargetR=36591 as target WI has未迁移 GitRepositoryEnricher: Enriching 6222 To fix Git Repo Links

配置文件:

    {
    "ChangeSetMappingFile": null,
    "Source": {
    "ObjectType": "TfsTeamProjectConfig",
    "Collection": "https://dev.azure.com/Prashantshivhare01/",
    "Project": "TestMigration",
    "ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
    "AllowCrossProjectLinking": false,
    "PersonalAccessToken": "",
    "LanguageMaps": {
    "AreaPath": "Area",
    "IterationPath": "Iteration"
    }
    },
    "Target": {
    "ObjectType": "TfsTeamProjectConfig",
    "Collection": "https://dev.azure.com/dest01",
    "Project": "Test Migration",
    "ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
    "AllowCrossProjectLinking": false,
    "PersonalAccessToken": "",
    "LanguageMaps": {
    "AreaPath": "Area",
    "IterationPath": "Iteration"
    }
    },
    "FieldMaps": [
    {
    "ObjectType": "MultiValueConditionalMapConfig",
    "WorkItemTypeName": "",
    "sourceFieldsAndValues": {
    "Field1": "Value1",
    "Field2": "Value2"
    },
    "targetFieldsAndValues": {
    "Field1": "Value1",
    "Field2": "Value2"
    }
    },
    {
    "ObjectType": "FieldBlankMapConfig",
    "WorkItemTypeName": "",
    "targetField": "TfsMigrationTool.ReflectedWorkItemId"
    },
    {
    "ObjectType": "FieldValueMapConfig",
    "WorkItemTypeName": "",
    "sourceField": "System.State",
    "targetField": "System.State",
    "defaultValue": "New",
    "valueMapping": {
    "Approved": "New",
    "New": "New",
    "Committed": "Active",
    "In Progress": "Active",
    "To Do": "New",
    "Done": "Closed",
    "Removed": "Removed"
    }
    },
    {
    "ObjectType": "FieldtoFieldMapConfig",
    "WorkItemTypeName": "",
    "sourceField": "Microsoft.VSTS.Common.BacklogPriority",
    "targetField": "Microsoft.VSTS.Common.StackRank",
    "defaultValue": null
    },
    {
    "ObjectType": "FieldtoFieldMultiMapConfig",
    "WorkItemTypeName": "",
    "SourceToTargetMappings": {
    "SourceField1": "TargetField1",
    "SourceField2": "TargetField2"
    }
    },
    {
    "ObjectType": "FieldtoTagMapConfig",
    "WorkItemTypeName": "",
    "sourceField": "System.State",
    "formatExpression": "ScrumState:{0}"
    },
    {
    "ObjectType": "FieldMergeMapConfig",
    "WorkItemTypeName": "",
    "sourceField1": "System.Description",
    "sourceField2": "Microsoft.VSTS.Common.AcceptanceCriteria",
    "targetField": "System.Description",
    "formatExpression": "{0}
    
    
    Acceptance Criteria
    {1}",
    "doneMatch": "##DONE##"
    },
    {
    "ObjectType": "RegexFieldMapConfig",
    "WorkItemTypeName": "",
    "sourceField": "COMPANY.PRODUCT.Release",
    "targetField": "COMPANY.DEVISION.MinorReleaseVersion",
    "pattern": "PRODUCT \d{4}.(\d{1})",
    "replacement": "$1"
    },
    {
    "ObjectType": "FieldValuetoTagMapConfig",
    "WorkItemTypeName": "",
    "sourceField": "Microsoft.VSTS.CMMI.Blocked",
    "pattern": "Yes",
    "formatExpression": "{0}"
    },
    {
    "ObjectType": "TreeToTagMapConfig",
    "WorkItemTypeName": "",
    "toSkip": 3,
    "timeTravel": 1
    }
    ],
    "GitRepoMapping": null,
    "LogLevel": "Information",
    "Processors": [
    {
    "ObjectType": "WorkItemMigrationConfig",
    "ReplayRevisions": true,
    "PrefixProjectToNodes": false,
    "UpdateCreatedDate": true,
    "UpdateCreatedBy": true,
    "BuildFieldTable": false,
    "AppendMigrationToolSignatureFooter": false,
    "WIQLQueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] IN ('Test Suite', 'Test Plan')",
    "WIQLOrderBit": "[System.ChangedDate] desc",
    "Enabled": true,
    "LinkMigration": true,
    "AttachmentMigration": true,
    "AttachmentWorkingPath": "c:\temp\WorkItemAttachmentWorkingFolder\",
    "FixHtmlAttachmentLinks": false,
    "SkipToFinalRevisedWorkItemType": true,
    "WorkItemCreateRetryLimit": 5,
    "FilterWorkItemsThatAlreadyExistInTarget": true,
    "PauseAfterEachWorkItem": true,
    "AttachmentMaxSize": 480000000,
    "CollapseRevisions": false,
    "LinkMigrationSaveEachAsAdded": false,
    "GenerateMigrationComment": true,
    "NodeBasePaths": [
    "Product\Area\Path1",
    "Product\Area\Path2"
    ],
    "WorkItemIDs": null
    }
    ],
    "Version": "11.6",
    "workaroundForQuerySOAPBugEnabled": false,
    "WorkItemTypeDefinition": {
    "sourceWorkItemTypeName": "targetWorkItemTypeName",
    "Bug" : "Bug",
    "Requirement" : "Product Backlog Item",
    "Epic" : "Epic",
    "Task" : "Task",
    "Feature" : "Feature",
    "Test Case" : "Test Case"
    }
    }
4

1 回答 1

0

创建工作项查询->查询类型为工作项树->选择查询结果中的所有工作项并选择选项移动到团队项目->选择目标项目团队->单击查询选项卡结果->单击按钮保存items 以保存所有工作项。

在此处输入图像描述

于 2020-11-02T09:55:21.327 回答