update_test_runs
Update fields on test runs in bulk (up to 50). Atomic batch: one bad item rejects entire batch. Set title, status, group_id, or custom fields.
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.
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 |