getWorkflowActionsForTestRun
Retrieve all valid workflow actions for a Test Run from its current status, including required fields, roles, and user availability, so you can choose a valid transition before patching the run.
Instructions
Returns the workflow actions (transitions) possible from one Test Run's current status, each with its action ID, name, target status, whether it is available to the calling user (with an unavailableReason if not), and the fields, roles, or signatures it requires. Call it before patchTestRun with workflowAction to choose a valid transition; for Work Items use getWorkflowActionsForWorkItem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | No | A specific repository revision (e.g. `1234`) to read the resource as it existed at that revision instead of the current HEAD. Omit to use the latest revision. | |
| projectId | Yes | The Polarion project ID (its URL segment, e.g. `myproject`), case-sensitive. Required to scope the request to one project; call getProjects to list valid IDs. | |
| testRunId | Yes | The Test Run's ID within its project. | |
| page_size_ | No | Maximum number of items to return in this page (e.g. `100`). Use together with `page[number]` to paginate through a large result set. | |
| page_number_ | No | 1-based page number to fetch when the result set is paginated (e.g. `2` for the second page). Combine with `page[size]`; omit to fetch the first page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| links | No |