create_test_run_from_work_items
Creates a test run in a test plan from automated work items and configurations, pre-creating results for later submission; manual work items are rejected.
Instructions
Create a test run inside a test plan for the given work items x configurations (the plan becomes InProgress). Only AUTOMATED work items are accepted (linked to an autotest, see link_autotest_work_item); TestIT rejects manual ones. Results are pre-created and filled via submit_test_run_results; the run completes when all results are in.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"testPlanId": "<testPlanId>",
"workItemIds": "<workItemIds>",
"configurationIds": "<configurationIds>"
},
"name": "create_test_run_from_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | ||
| projectId | No | Project UUID (defaults to TESTIT_PROJECT_ID). | |
| testPlanId | Yes | ||
| description | No | ||
| projectName | No | ||
| workItemIds | Yes | ||
| launchSource | No | ||
| configurationIds | Yes |