get_test_run_summary
Fetch aggregated execution summary for a Jira test run/cycle: item counts, status breakdown, execution progress, and pass rate.
Instructions
Aggregated execution summary of a test run / test cycle: composite read-only call of GET /testrun/{key} plus every page of its results (with the flat-endpoint fallback of get_test_run_results). Counts the LAST execution of each item — the run object names them, so latestResults and executed never exceed itemCount — grouping by status name verbatim in byStatus; nothing is normalized. Default statuses: 'Not Executed', 'In Progress', 'Pass', 'Fail', 'Blocked' — case-sensitive internal names; instances may define custom ones. runStatus is the status of the RUN itself (e.g. 'In Progress', 'Done'), not an execution status. executed counts every counted result whose status is not the literal 'Not Executed'. executionProgressPct = executed/itemCount (executed/latestResults when the run exposes no items), so an item with no counted last execution counts as not executed and note says how many there are. passRatePct is the share of the literal status 'Pass' among executed — 0 when nothing passed, and absent only when executed is 0. Returns { key, name, runStatus, itemCount?, latestResults, executed, executionProgressPct?, byStatus, passRatePct?, note? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testRunKey | Yes | Test run (cycle) key, e.g. PROJ-R123 (PROJ-C123 on older instances) |