ado_testcases_add_to_suite
Add existing test case work items to a static test suite in Azure DevOps. Provide project, plan ID, suite ID, and test case IDs.
Instructions
Add existing Test Case work items to a suite. Pass an array of work item IDs that have type 'Test Case'. Use ado_workitems_create with type='Test Case' to create new test cases first. Only works for staticTestSuite — dynamicTestSuite membership is query-driven. Requires vso.test_write PAT scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | Test plan ID | |
| project | Yes | Project that owns the test plan | |
| suiteId | Yes | Test suite ID | |
| testCaseIds | Yes | Work item IDs of the Test Case items to add (max 100 per call) |