search_test_runs
Search Zephyr Scale test runs by project key and folder with TQL queries. Supports pagination and selecting specific fields.
Instructions
Search Zephyr Scale test runs (test cycles) with TQL. For test runs TQL supports ONLY the fields projectKey and folder, ONLY the operators = and IN, and AND as the only logical connector (no OR, no other fields). Syntax is strict: spaces around operators are mandatory, string values go in double quotes, folder paths start with "/" ("/" is the root). Examples: projectKey = "PROJ" · projectKey = "PROJ" AND folder = "/Regression". Returns { startAt, maxResults, count, isLast, values }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | TQL query; for test runs only projectKey and folder are searchable | |
| fields | No | Restrict returned entities to these fields (serialized comma-separated) | |
| startAt | No | 0-based index of the first result to return (default 0) | |
| maxResults | No | Maximum number of results to return (default 50; the API server-side default is 200) |