question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot migrate from Azure DevOps to Azure DevOps on version 8.8

See original GitHub issue

Hello,

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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MrHinshcommented, Mar 17, 2020

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.

0reactions
github-actions[bot]commented, Apr 18, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot migration import to Azure DevOps Services
The following warning means you need to use the SQL Azure VM method to complete your import. Once a database reaches a certain...
Read more >
Migration options - Azure DevOps
Option 1: Copy the most important assets manually · Identify the most important assets that you need to migrate - typically source code,...
Read more >
Azure DevOps Server to Services Migration overview
The data migration tool for Azure DevOps supports the two latest releases of Azure DevOps Server at a given time. Releases include updates...
Read more >
Import migrate process from on-premises to Azure DevOps
How to guide for preparing an on-premises collection to importing it to the cloud.
Read more >
Releases · nkdAgility/azure-devops-migration-tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Tasks, Test Cases, and Plans & Suits from one Project to another in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found