get_test_collection
Retrieve a test collection's metadata, execution statistics, and optionally its test case details using its unique UUID to inspect status, priorities, and assignments without modifying data.
Instructions
Get one Test Collection by UUID. Returns metadata (name, status, priority, environment, assignedTo, project, folder, release, dates), stats (totalTests, passed, failed, blocked, notExecuted, skipped, inTesting), and unless includeTestDetails is false a tests array of caseId, caseNumber, caseTitle, casePriority, status, executedBy, executedAt, notes. Each of those rows also carries an executionId, which is the id of the row itself inside this Collection and NOT a Manual Test Execution id: passing it to get_execution finds nothing. Read-only, changes nothing. collectionId comes from list_test_collections, which is the tool for finding or comparing collections across a project rather than inspecting one. For a Manual Test Execution (the Executions-page container) use get_execution and get_execution_cases instead - a different entity, and only the rows returned by get_execution_cases can be reported against with report_case_result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | Test collection UUID. Obtain from list_test_collections. | |
| includeTestDetails | No | Include list of test cases with execution status |