-
Hi, I followed the "How-to: Migrating Plans and Suites" to the letter and work items and test plans, suites and cases have all been migrated. The issue is that for "Requirement Based" test suites, none of the link between the test cases and PBI are being created. To test I validated for one PBI and Test Case, ensured they are both on the target project using the ReflectedWorkItemId and Integration Build fields. I ran the migration tool for the PBI and test cases in question, but no luck in getting the links created. I get the following warning: WRN: [SKIP] Unable to migrate link where Link of type Microsoft.VSTS.Common.TestedBy-Reverse where wiSourceL=146135, wiSourceR=140266, wiTargetL=334535, wiTargetR=140266 as target WI has nit been migrated. Based on the Warning message, it appears that the incorrect target WI id is being referenced (wiTargetR=140266), again I did ensure the target project had both work items created. Any help would be appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Cna you confirm that at the time that |
Beta Was this translation helpful? Give feedback.
-
Hi @MrHinsh, I think I might have found my mistake. I wasn't using Field map to map the ReflectedWorkItemId to IntegrationBuild for basic work items. Once I fixed this it appears to be relating the test cases. The lesson appears to be that test cases rely on the basic work item having the old work item id in the integrationBuild field. Thanks you! |
Beta Was this translation helpful? Give feedback.
Yes, The ReflectedWorkItemID is filled in correctly, but it seems like when migrating test cases the tool is looking at the IntegrationBuild field on the basic work items.
You do point this out in the here...
"Field map copies the ReflectedWorkItemId to Microsoft.VSTS.Build.IntegrationBuild".
I just failed to notice that I should have added the field mapping for this..