ado_testplans_create
Creates a new test plan in Azure DevOps, automatically generating a root suite; returns the rootSuiteId for use when adding child suites via ado_testsuites_create. Requires vso.test_write scope.
Instructions
Create a new test plan in Azure DevOps. ADO automatically creates a root suite alongside the plan — the response includes rootSuiteId. Pass rootSuiteId as parentSuiteId when calling ado_testsuites_create to add child suites. Requires vso.test_write PAT scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test plan name | |
| endDate | No | Plan end date in ISO 8601 format, e.g. '2024-01-14'. | |
| project | Yes | Project to create the test plan in | |
| areaPath | No | Area path, e.g. 'MyProject\\MyTeam'. Defaults to project root. | |
| iteration | No | Iteration path, e.g. 'MyProject\\Sprint 1'. | |
| startDate | No | Plan start date in ISO 8601 format, e.g. '2024-01-01'. |