You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I execute it, it caused an issue with the error below.
[05:51:14 INF] [16.1.0] 1 Work items received, verifying
[05:51:14 INF] [16.1.0] Loading 1 Work Items
[05:51:16 DBG] [16.1.0] 1 Work Items loaded
[05:51:16 DBG] [16.1.0] GetReflectedWorkItemId: START
[05:51:16 DBG] [16.1.0] GetReflectedWorkItemId: END - Has ReflectedWorkItemIdField and has value
[05:51:17 FTL] [16.1.0] Error while running TfsTestPlansAndSuitesMigrationProcessor
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntry.SetPointAssignments(Guid owner, List1 configs) at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteHelper.ServerAddCasesToSuite(TestSuite parent, IEnumerable1 entries, Int32 toIndex)
at Microsoft.TeamFoundation.TestManagement.Client.TestSuite.OnInsertCases(Int32 index, IEnumerable1 cases, Boolean ignoreDuplicates) at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntryCollection.InsertCases(Int32 index, IEnumerable1 cases)
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.AddChildTestCases(ITestSuiteBase source, ITestSuiteBase target, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 188
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 1035
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 1042
at 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 908
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 119
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99
Error logged to Elmah.io!
!! Check for latest version - We fix issues constantly - If not, please create a discussion on https://github.com/nkdAgility/azure-devops-migration-tools/discussions so we can get this fixed !!
[05:51:17 INF] [16.1.0] TfsTestPlansAndSuitesMigrationProcessor completed in 00:00:00
[05:51:17 ERR] [16.1.0] TfsTestPlansAndSuitesMigrationProcessor The Processor MigrationEngine entered the failed state...stopping run
[05:51:17 INF] [16.1.0] Command ExecuteMigrationCommand completed in 00:01:03.2995163
Also, I tried following the documentation which you have provided on the website.
I tried using the below json structure
{ "ProcessorType": "TfsWorkItemMigrationProcessor", "Enabled": true, "UpdateCreatedDate": false, "UpdateCreatedBy": false, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] IN ('Test Case','Shared Steps','Shared Parameter') ORDER BY [System.ChangedDate] desc", "FixHtmlAttachmentLinks": true, "WorkItemCreateRetryLimit": 5, "FilterWorkItemsThatAlreadyExistInTarget": true, "GenerateMigrationComment": true, "SourceName": "Source", "TargetName": "Target" },
I got the error as
When i tried to add the Shared Steps variable in the project settings, I was not able to add. I get the below error.
_VS403066: The work item type name Shared Steps you specified is already in use. Choose a different name and try again.
Could you please check and let me know what caused this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @MrHinsh & Team,
I'm trying to migrate the azure devops Test plan and suites from one org to another org. I used the below json structure in the version 16.1.
{ "ProcessorType": "TfsTestVariablesMigrationProcessor", "Enabled": true, "Processor": "TestVariablesMigrationContext", "SourceName": "Source", "TargetName": "Target" }, { "ProcessorType": "TfsTestConfigurationsMigrationProcessor", "Enabled": true, "SourceName": "Source", "TargetName": "Target" }, { "ProcessorType": "TfsTestPlansAndSuitesMigrationProcessor", "Enabled": true, "OnlyElementsWithTag": "", "TestPlanQuery": null, "RemoveAllLinks": false, "MigrationDelay": 0, "RemoveInvalidTestSuiteLinks": false, "FilterCompleted": false, "SourceName": "Source", "TargetName": "Target" }
If I execute it, it caused an issue with the error below.
[05:51:14 INF] [16.1.0] 1 Work items received, verifying
[05:51:14 INF] [16.1.0] Loading 1 Work Items
[05:51:16 DBG] [16.1.0] 1 Work Items loaded
[05:51:16 DBG] [16.1.0] GetReflectedWorkItemId: START
[05:51:16 DBG] [16.1.0] GetReflectedWorkItemId: END - Has ReflectedWorkItemIdField and has value
[05:51:17 FTL] [16.1.0] Error while running TfsTestPlansAndSuitesMigrationProcessor
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntry.SetPointAssignments(Guid owner, List
1 configs) at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteHelper.ServerAddCasesToSuite(TestSuite parent, IEnumerable
1 entries, Int32 toIndex)at Microsoft.TeamFoundation.TestManagement.Client.TestSuite.OnInsertCases(Int32 index, IEnumerable
1 cases, Boolean ignoreDuplicates) at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntryCollection.InsertCases(Int32 index, IEnumerable
1 cases)at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.AddChildTestCases(ITestSuiteBase source, ITestSuiteBase target, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 188
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 1035
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 1042
at 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 908
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 119
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99
Error logged to Elmah.io!
!! Check for latest version - We fix issues constantly - If not, please create a discussion on https://github.com/nkdAgility/azure-devops-migration-tools/discussions so we can get this fixed !!
[05:51:17 INF] [16.1.0] TfsTestPlansAndSuitesMigrationProcessor completed in 00:00:00
[05:51:17 ERR] [16.1.0] TfsTestPlansAndSuitesMigrationProcessor The Processor MigrationEngine entered the failed state...stopping run
[05:51:17 INF] [16.1.0] Command ExecuteMigrationCommand completed in 00:01:03.2995163
Also, I tried following the documentation which you have provided on the website.
I tried using the below json structure
{ "ProcessorType": "TfsWorkItemMigrationProcessor", "Enabled": true, "UpdateCreatedDate": false, "UpdateCreatedBy": false, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] IN ('Test Case','Shared Steps','Shared Parameter') ORDER BY [System.ChangedDate] desc", "FixHtmlAttachmentLinks": true, "WorkItemCreateRetryLimit": 5, "FilterWorkItemsThatAlreadyExistInTarget": true, "GenerateMigrationComment": true, "SourceName": "Source", "TargetName": "Target" },
I got the error as

When i tried to add the Shared Steps variable in the project settings, I was not able to add. I get the below error.
_VS403066: The work item type name Shared Steps you specified is already in use. Choose a different name and try again.
Could you please check and let me know what caused this issue?
Beta Was this translation helpful? Give feedback.
All reactions