get_cases
Retrieve TestRail test cases filtered by project, suite, section, status, priority, and other attributes. Use it to locate specific cases for test planning, review, or automation.
Instructions
List test cases with filters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | Comma-separated reference IDs | |
| limit | No | Max items (max 250, default 250) | |
| filter | No | Full text search filter | |
| offset | No | Offset for pagination (default 0) | |
| type_id | No | Comma-separated case type IDs | |
| suite_id | No | Suite ID (required for multi-suite projects) | |
| status_id | No | Comma-separated status IDs (1=Passed,2=Blocked,3=Untested,4=Retest,5=Failed) | |
| created_by | No | Comma-separated creator user IDs | |
| project_id | Yes | Project ID | |
| section_id | No | Section ID filter | |
| updated_by | No | Comma-separated updater user IDs | |
| priority_id | No | Comma-separated priority IDs | |
| template_id | No | Comma-separated template IDs | |
| milestone_id | No | Comma-separated milestone IDs | |
| created_after | No | Created after timestamp | |
| updated_after | No | Updated after timestamp | |
| created_before | No | Created before timestamp | |
| updated_before | No | Updated before timestamp |