Cannot migrate from Azure DevOps to Azure DevOps on version 8.8
See original GitHub issueHello,
I am trying to migrate from a Azure DevOps (Agile) project to another Azure DevOps (Agile) project. However I get this error:
migration.exe Information: 0 : Access granted [Info]: Engine created, running… MigrationEngine: Beginning run of 1 processors migration.exe Information: 0 : Migration Context Start WorkItemMigration WorkItemMigration: Replay all revisions of 7 work items? WorkItemMigration: Found target project as TTT migration.exe Warning: 0 : [EXCEPTION] Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException: TF51005: The query references a field that does not exist. The error is caused by «ReflectedWorkItemId». at Microsoft.TeamFoundation.WorkItemTracking.Client.Query.Initialize(WorkItemStore store, String wiql, IDictionary context, Int32[] ids, Int32[] revs, Boolean dayPrecision) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Query(String wiql, IDictionary context) at VstsSyncMigrator.Engine.TfsQueryContext.Execute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\ComponentContext\TfsQueryContext.cs:line 70 migration.exe Warning: 0 : [EXCEPTION] Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException: TF51005: The query references a field that does not exist. The error is caused by «ReflectedWorkItemId». at Microsoft.TeamFoundation.WorkItemTracking.Client.Query.Initialize(WorkItemStore store, String wiql, IDictionary context, Int32[] ids, Int32[] revs, Boolean dayPrecision) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Query(String wiql, IDictionary context) at VstsSyncMigrator.Engine.TfsQueryContext.Execute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\ComponentContext\TfsQueryContext.cs:line 97 at VstsSyncMigrator.Engine.WorkItemMigrationContext.FilterWorkItemsThatAlreadyExistInTarget(List`1 sourceWorkItems, WorkItemStoreContext targetStore) in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 539 at VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 106 at VstsSyncMigrator.Engine.MigrationContextBase.Execute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:line 35 MigrationEngine: The Processor WorkItemMigration entered the failed state…stopping run [Info]: Run complete… [Info]: -------------------------------END------------------------------ [Info]: Duration: 00:00:03.2582995 [Info]: End Time: 16-3-2020 18:07:03
I have used multiple options for this: “ReflectedWorkItemIDFieldName”: “TfsMigrationTool.ReflectedWorkItemId”, “ReflectedWorkItemIDFieldName”: “Agile.ReflectedWorkItemId”, “ReflectedWorkItemIDFieldName”: “ReflectedWorkItemId”,
Nothing seems to be working, I keep getting the same error. What am I doing wrong?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)

Top Related StackOverflow Question
Please do not
"ReflectedWorkItemIDFieldName": "System.WorkItemType",as this is very dangerious.You should add the ReflectedWorkItemID field to all of the target work items as per the documentation.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days