Error while running TfsTestPlansAndSuitesMigrationProcessor #2380
Replies: 4 comments 6 replies
-
I'll try the steps I saw in this discussion here, if anything I'll open another topic so we can discuss or show that it worked to help other people. |
Beta Was this translation helpful? Give feedback.
-
I reopened the discussion, in case anyone can help me on this topic. |
Beta Was this translation helpful? Give feedback.
-
I was able to point to the correct prefix, however, there is a problem in Shared Steps or Shared Parameter, can you help me? |
Beta Was this translation helpful? Give feedback.
-
I adjusted the queries, adjusted the processors, and used everything according to the official documentation and it worked! I apologize and thank you. Ending here. |
Beta Was this translation helpful? Give feedback.
-
I'm migrating our old Azure DevOps on premise, which was upgraded from TFS to the new Azure Devops, using this tool.
As there are only 4 projects, I migrated the repos using git clone -mirror, and restructured the CI/CD pipeline to a new yaml standard (previously legacy).
This way, I am only using test plans to migrate in our configration.json using the following processor:
{ "ProcessorType": "TfsTestPlansAndSuitesMigrationProcessorOptions", "Enabled": true, "TestPlanQuery": null, "RemoveAllLinks": false, "MigrationDelay": 0, "RemoveInvalidTestSuiteLinks": false, "FilterCompleted": false, "SourceName": "Source2", "TargetName": "Target2", "RefName": null }
I was able to access the servers, however, when uploading the plans to the new Azure Devops, the following error returns:
Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionNotExistException: TF26027: A tfs_test_plans.ReflectedWorkItemId field definition in the work item type definition file does not exist.
The old project at TFS used the Agile process, and I created the same in the current one.
I've already tried using managed, using the prefix as Custom, as Agile, as Agile_TFS as per print, I also tried to create a new one from Agile and created a new field with the name tfs_test_plans and tfs_migrate, which also didn't work, as per print.
Have you ever experienced something similar, is there a known solution?
n Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionCollection.get_Item(String name) at Microsoft.TeamFoundation.WorkItemTracking.Client.FieldCollection.get_Item(String name) in MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.AssignReflectedWorkItemId(Int32 sourceWIId, Int32 targetWIId) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlan sAndSuitesMigrationProcessor.cs :line 364 in MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestPlan(ITestPlan sourcePlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 867 in MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs: line 113 in MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 98
Beta Was this translation helpful? Give feedback.
All reactions