Migrating Test Cases between projects in the same (ADO services) instance #2318
Replies: 2 comments 4 replies
-
We do not support that, and from a DevOps/Agile perspective it sounds like a bad idea. Happy to chat on that one and your companies reasoning... You an move a work item from one project to another inside of Azure DevOps! |
Beta Was this translation helpful? Give feedback.
-
It's the test cases we want to move, not the work items and Move to Team Project errors if you try and move the test WITs I don't disagree with your "bad idea" comment, but the maturity is low so this is what they need for now and what was inherited by yours truly to sort out. It's actually a first step into sorting this out long term.... I guess there's 2 choices for me then - either a fixup powershell script using the APIs or possibly having a go at doing this in the tool's codebase if you'd welcome a pull request to implement this as a feature? I've a good coding knowledge and a lot of expertise managing ADO instances |
Beta Was this translation helpful? Give feedback.
-
Hi I'm trying to migrate test cases from one project to a different project in the same instance. The intention is to have test plans in one project and work items they test in another.
I'm using the following endpoint config:
However when I migrate the test cases, the Tests / Tested By link is not created. I get the following error:
[09:44:42 WRN] [15.1.7] [SKIP] Unable to migrate link where Link of type Microsoft.VSTS.Common.TestedBy-Reverse where wiSourceL=22217, wiSourceR=21715, wiTargetL=59769, wiTargetR=21715 as target WI has not been migrated
My scenario is that I don't want to migrate the work item with the Tested By link to the migrated test base, so is there any config to allow this to happen?
I can see no other way to move test cases from one ADO project to another so any ideas welcome please. "Change project" explicitly disallows this with an error message and import test suites does not clone the test cases and references the ones in the old project.
Beta Was this translation helpful? Give feedback.
All reactions