Error when trying to migrate test cases #1741
-
Hi All! I am new to this tool and I've successfully migrated work items but now I'm trying to migrate 1 sample test case from one organization to another but I am getting this error: Can someone please tell me what I'm missing or doing wrong? { Acceptance Criteria{1}"}, { "$type": "FieldValuetoTagMapConfig", "WorkItemTypeName": "", "sourceField": "Microsoft.VSTS.CMMI.Blocked", "pattern": "Yes", "formatExpression": "{0}" }, { "$type": "TreeToTagMapConfig", "WorkItemTypeName": "*", "toSkip": 3, "timeTravel": 1 } ], "GitRepoMapping": null, "LogLevel": "Debug", "CommonEnrichersConfig": null, "Processors": [ { "$type": "WorkItemMigrationConfig", "Enabled": false, "ReplayRevisions": true, "PrefixProjectToNodes": false, "UpdateCreatedDate": true, "UpdateCreatedBy": true, "WIQLQueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request')", "WIQLOrderBit": "[System.ChangedDate] desc", "LinkMigration": true, "AttachmentMigration": true, "AttachmentWorkingPath": "c:\temp\WorkItemAttachmentWorkingFolder\", "FixHtmlAttachmentLinks": false, "SkipToFinalRevisedWorkItemType": true, "WorkItemCreateRetryLimit": 5, "FilterWorkItemsThatAlreadyExistInTarget": true, "PauseAfterEachWorkItem": false, "AttachmentMaxSize": 480000000, "AttachRevisionHistory": false, "LinkMigrationSaveEachAsAdded": false, "GenerateMigrationComment": true, "WorkItemIDs": null, "MaxRevisions": 0, "UseCommonNodeStructureEnricherConfig": false, "StopMigrationOnMissingAreaIterationNodes": true, "NodeBasePaths": [ "Product\Area\Path1", "Product\Area\Path2" ], "AreaMaps": {}, "IterationMaps": {}, "MaxGracefulFailures": 0, "SkipRevisionWithInvalidIterationPath": false, "SkipRevisionWithInvalidAreaPath": false, "ShouldCreateMissingRevisionPaths": true }, { "$type": "TestVariablesMigrationConfig", "Enabled": true }, { "$type": "TestConfigurationsMigrationConfig", "Enabled": true }, { "$type": "TestPlansAndSuitesMigrationConfig", "Enabled": true, "PrefixProjectToNodes": false, "OnlyElementsWithTag": null, "TestPlanQueryBit": "null'", "RemoveAllLinks": false, "MigrationDelay": 0, "UseCommonNodeStructureEnricherConfig": false, "NodeBasePaths": null, "AreaMaps": null, "IterationMaps": null, "RemoveInvalidTestSuiteLinks": false, "FilterCompleted": false } ], "Version": "14.1", "workaroundForQuerySOAPBugEnabled": false, "WorkItemTypeDefinition": { "sourceWorkItemTypeName": "targetWorkItemTypeName" }, "Endpoints": { "InMemoryWorkItemEndpoints": [ { "Name": "Source", "EndpointEnrichers": null }, { "Name": "Target", "EndpointEnrichers": null } ] } } |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@daryllmamaril, test cases are migrated using the Can you tell me what version of the tool that you are using? Please also provide your full log as it looks like you are using an old version of the source code. In the current version line 628 of |
Beta Was this translation helpful? Give feedback.
-
Hi @MrHinsh. Thank you for your response. I've upgraded to the newest version and I have migrated the Test Cases first using the WorkItemMigrationConfig. But when i ran the 3 processors for test plans and suites Im still getting the same error: Below is my config file: |
Beta Was this translation helpful? Give feedback.
You have two test plans with the same name. This is currently a restriction in our tooling that we use the name to initially identify them as there is no other valid value.
There may be a fix by creating a hash of other values with the name...
For now you can change the source so that each test Plan has a unique name.