create_test_runs
Bulk-create 1-50 test runs in a Polarion project, validating types, statuses, templates, and custom fields; atomic batch rejects if any item is invalid.
Instructions
Create 1-50 test runs in one project in one bulk request.
id is required per item — never auto-generated. type/status are validated against the project's testing enumerations and template_id against existing templates (list_test_runs(templates=True)). custom_fields keys are validated against a sample of existing runs; enum-typed custom values are not (test runs have no options API). Atomic: one bad item rejects the whole batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Test runs to create in one request (1-50). | |
| dry_run | No | Preview payload without writing; guards still query Polarion. | |
| project_id | Yes | Polarion project ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| dry_run | Yes | ||
| test_run_ids | No | ||
| payload_preview | No |