update_test_runs
Update 1-50 test runs in a single atomic batch, changing title, status, group, or custom fields. Invalid items cause the entire batch to be rejected.
Instructions
Update fields on 1-50 existing test runs in one bulk PATCH; unset fields stay unchanged. Atomic: one bad item rejects the whole batch.
Writable: title, status, group_id, custom_fields. status is validated against the project's testing enumerations. custom_fields is partial; keys are validated against a sample of existing runs, values are not (test runs have no options API). finishedOn is server-managed — not settable. Returns ids only — re-read via list_test_runs.
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": {
"project_id": "<project_id>",
"items": "<items>"
},
"name": "update_test_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Per-run changes (1-50); unset fields stay unchanged. | |
| dry_run | No | Preview payload without writing; guards still query Polarion. | |
| project_id | Yes | Polarion project ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| updated | Yes | ||
| test_run_ids | No | ||
| payload_preview | No |