get_test_run
Retrieve complete details of a test run by its ID, including title, status, custom fields, test-case selection, and timestamps. Optionally include the raw HTML report body for full context.
Instructions
Get full details of one test run by ID.
Returns writable fields (title, status, group_id, custom_fields) plus read-only context: test-case selection, template provenance, author, and timestamps. include_home_page_content_html=True fills content_html with the raw HTML report body; it stays empty when use_report_from_template is true. Never feed back a blanked (flag=False) body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Polarion project ID. | |
| test_run_id | Yes | Test run ID (e.g. 'TR-2026-01'). | |
| include_home_page_content_html | No | Fill content_html with the run's raw HTML report body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| query | No | ||
| title | Yes | ||
| status | Yes | ||
| created | No | ||
| updated | No | ||
| group_id | No | ||
| space_id | No | ||
| author_id | No | ||
| project_id | Yes | ||
| author_name | No | ||
| finished_on | No | ||
| is_template | No | ||
| template_id | No | ||
| content_html | No | ||
| custom_fields | No | ||
| document_name | No | ||
| select_test_cases_by | No | ||
| use_report_from_template | No |