export_report
Generate summary, failures, trends, or release reports for a project, returning the content as Markdown or JSON strings for test analysis.
Instructions
Generate a formatted report for a project. Supports summary, failures, trends, and release reports in markdown or JSON. Returns the report content as a string. The summary report carries a runs block of total, passed and failed, which counts LAUNCHES and does not add up: a launch stored as finished, running or interrupted is in total and in neither bucket, exactly as get_launches_statistics explains. It also carries a tests block of total, passed, failed, skipped, flaky and passRate, where passRate is (passed + flaky) / total: flaky counts as a pass because the test passed on a retry, and total excludes skipped, so passed + failed + flaky adds back to total and the figure can be checked by hand. It is floored to two decimals rather than rounded, so a period with a single failure never prints as a flat 100 - which also means it can sit a hundredth below the same rate from get_launches_statistics, which rounds. NOTE: reportType "release" requires the releaseId argument (get it from list_releases) and ignores days, since it covers everything linked to the release however old. It reports manualTesting with runCount, totalTests, passed, failed, blocked, inTesting and notExecuted, and automation with launchCount, totalTests, passedTests, failedTests, skippedTests, flakyTests and passRate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback period for report data | |
| format | No | Output format | markdown |
| projectId | Yes | Project UUID to generate report for | |
| releaseId | No | Release UUID (required for release report type) | |
| reportType | No | Type of report: summary (overview), failures (failed tests), trends (pass rate over time), release (release status) | summary |