【问题标题】:Is there any way to keep the original Id when migrating using Azure DevOps Migration Tools?使用 Azure DevOps 迁移工具进行迁移时,有什么方法可以保留原始 ID?
【发布时间】:2020-11-21 08:47:02
【问题描述】:

我正在使用 Azure DevOps 迁移工具将我们的工作项从一个组织迁移到另一个组织。

ReflectedWorkItemIDFieldName 用https://dev.azure.com/myOldSite/MyProject/_workitems/edit/99 之类的值填充 ID_old

我希望能够将 Id=xx 从 myOldSite 迁移到 Id=xx 从 myNewSite,但我无法找到将 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
    }
  ]
}

【问题讨论】:

    标签: azure azure-devops-migration-tools azure-migrate


    【解决方案1】:

    没有。该 ID 是系统生成的,不能保证未被目标系统中的其他工作项使用。

    【讨论】:

    • 谢谢丹尼尔。我也期待,但只是想问这个问题。我会将其标记为已回答,因为它已尽善尽美!
    猜你喜欢
    • 2021-04-23
    • 2021-04-05
    • 2019-05-21
    • 2021-05-27
    • 2021-03-15
    • 2021-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多