我正在使用Azure DevOps迁移工具将我们的工作项从一个组织迁移到另一个组织。
ReflectedWorkItemIDFieldName用类似于https://dev.azure.com/myOldSite/MyProject/_workitems/edit/99的值填充ID_old。
我希望能够将Id=xx从myOldSite迁移到Id=xx,从myNewSite迁移到Id=xx,但我无法找到将Id号从旧系统迁移到新的Azure DevOps系统的方法。
有什么想法吗?
我的configuration.json是
{
"Version": "8.9",
"TelemetryEnableTrace": false,
"workaroundForQuerySOAPBugEnabled": false,
"Source": {
"Collection": "https://dev.azure.com/myOldSite/",
"Project": "MyProject",
"ReflectedWorkItemIDFieldName": "Id",
"AllowCrossProjectLinking": false,
"PersonalAccessToken": ""
},
"Target": {
"Collection": "https://dev.azure.com/myNewSite/",
"Project": "MyProject",
"ReflectedWorkItemIDFieldName": "Custom.ID_old",
"AllowCrossProjectLinking": false,
"PersonalAccessToken": ""
},
"FieldMaps": [],
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"GitRepoMapping": null,
"Processors": [
{
"ObjectType": "VstsSyncMigrator.Engine.Configuration.Processing.NodeStructuresMigrationConfig",
"PrefixProjectToNodes": false,
"Enabled": true,
"BasePaths": []
},
{
"ObjectType": "VstsSyncMigrator.Engine.Configuration.Processing.WorkItemMigrationConfig",
"ReplayRevisions": false,
"PrefixProjectToNodes": false,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"UpdateSourceReflectedId": false,
"BuildFieldTable": false,
"AppendMigrationToolSignatureFooter": false,
"QueryBit": "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
}
]
}发布于 2020-07-31 18:16:25
不是的。ID是系统生成的,不能保证目标系统中的其他工作项不会使用该ID。
https://stackoverflow.com/questions/63192944
复制相似问题