vsts-work-item-migrator icon indicating copy to clipboard operation
vsts-work-item-migrator copied to clipboard

Re-linking test work items

Open jdshkolnik opened this issue 7 years ago • 3 comments

The migrator will bring over test plans, suites, and cases, but it won't relate them to each other correctly because they are not linked like other work items. For example, a test case created independently won't appear in a test suite even if that suite is linked as the parent.

image

This is known behavior but the migrator is of limited utility without some means to migrate the test work item relationships. I took a quick look at the REST API but didn't see anything which could be used to solve this. Any ideas? @sferg-msft

jdshkolnik avatar Nov 21 '17 02:11 jdshkolnik

As you noticed, there are no APIs available today to make the migrator work for test work items. I will dig around to see if there is anything I can do to make it possible.

obvioussean avatar Feb 01 '18 15:02 obvioussean

I'm not sure about APIs required to update these links on the Target, but the new v3 oDATA APIs at least are exposing the links on the Source.

We have been using these new APIs in PowerBI to identify failed test cases that have bugs that are closed and can now be retested. Since there does not appear to be a way to create a query with these links.

Here is an example using the new API https://docs.microsoft.com/en-us/azure/devops/report/powerbi/sample-test-plans-tester-by-outcome?view=azure-devops&tabs=powerbi

mjcarrabine avatar Oct 08 '20 20:10 mjcarrabine

Hey, I am experiencing this, too. Does anyone know of a good strategy for migrating Test Plans, Suites and Cases with their structure in tact?

Xerxes0198 avatar Jul 04 '22 03:07 Xerxes0198