search_test_cases
Search test cases with AQL queries, applying filters on fields like name, status, tag, and custom fields.
Instructions
Search test cases by AQL query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID. Must be a number (integer), not a string. | |
| projectName | No | Project name (alternative to projectId). | |
| rql | Yes | AQL (Allure Query Language) filter expression. Operators: = != ~= (contains) > < >= <= in [...] and or not. IMPORTANT: 'not in' is written as 'not field in [...]', NOT 'field not in [...]'. Test case fields: id, name, tag, issue, role["R"], member, cf["F"], cfv, layer, status, workflow, testPlan, automation (boolean), muted, mutedDate, createdDate, createdBy, lastModifiedDate, lastModifiedBy. Dates use 13-digit Unix ms timestamps. Examples: name ~= "login" | automation = true | automation = false | status = "Active" | tag in ["smoke", "regression"] | not tag in ["nightly"] | cf["Epic"] = "Auth" | name ~= "checkout" and muted = false | (createdBy = "a" or createdBy = "b") and automation = true | |
| page | No | Page number, 0-based. Must be a number (integer), not a string. | |
| size | No | Page size. Must be a number (integer), not a string. | |
| sort | No |