search_test_cases
Search test cases in a QMetry project with optional filters (status, priority, labels, components, assignee, free text). Returns paginated results with ID, key, version, archived flag, or recursive folder counts when using folderId.
Instructions
Search test cases in a project with optional filters. Returns total count and paginated data with id, key, version info, archived flag. Use status/priority name strings (e.g. 'To Do', 'High') not IDs. projectId must be numeric (10011). Set recursive=true with a folderId to count across all subfolders (returns total only, no data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Jira project numeric ID (e.g. 10011) | |
| labels | No | Filter by labels | |
| components | No | Filter by components | |
| recursive | No | If true and folderId is set, counts test cases across all subfolders recursively. Returns { total, folderCount } only. | |
| folderId | No | Filter by folder ID | |
| status | No | Filter by status values | |
| priority | No | Filter by priority values | |
| assignee | No | Filter by assignee Jira account IDs | |
| query | No | Free-text search query | |
| startAt | No | Page offset (default 0) | |
| maxResults | No | Items per page (max 100, default 50) | |
| sort | No | Sort e.g. "id:asc" or "updated:desc" | |
| fields | No | Comma-separated fields to return |