ZQL Reference
ZQL is a simple structured query language that allows you to string together the right fields to search on with values, using the appropriate operators and keywords. The search box allows auto-completion making it really easy to construct a query. With the cursor in the search box, select the spacebar on your keyboard to be shown a list of fields, operators, keywords and values.
Â
For example, if you are looking for all the failed tests in the Ironclad project, you would enter a query that looked like this:
     project = "Project Ironclad" and status = "Fail"
Here, project and status are fields, and Project Ironclad and Fail are the values, joined together by the keyword and with the operator =.
Testcases | Â | Â | Â |
Field | Data Type | Operator | Â |
altid | string | , ! | Â |
automated | boolean | =, != | Â |
comment | string | , ! | Â |
contents | string | , ! | Â |
creator | string | =, !=, in | Â |
creatorid | long | =, !=, in | API only |
id | long | =, !=, in | Â |
name | string | , ! | Â |
priority | string | =, !=, in | Â |
project | string | =, !=, in | Â |
release | string | =, !=, in | Â |
releaseid | long | =, !=, in | API only |
revision | int | =, !=, in | API only |
tag | string | =, !=, in | Â |
treeid | long | =, !=, in | API only |
Executions | Â | Â | Â |
Field | Data Type | Operator | Â |
altid | string | , ! | Â |
assignee | string | =, !=, in | Â |
assigneeid | long | =, !=, in | API only |
automated | boolean | =, != | Â |
comment | string | , ! | Â |
contents | string | , ! | Â |
creator | string | =, !=, in | Â |
creatorid | long | =, !=, in | API only |
cyclephase | string | =, !=, in | Â |
cyclephaseid | long | =, !=, in | API only |
executor | string | =, !=, in | Â |
executorid | long | =, !=, in | API only |
id | long | =, !=, in | Â |
name | string | , ! | Â |
notes | string | , ! | Â |
priority | string | =, !=, in | Â |
project | string | =, !=, in | Â |
release | string | =, !=, in | Â |
releaseid | long | =, !=, in | API only |
revision | int | =, !=, in | API only |
scheduleid | long | =, !=, in | API only |
status | string | =, !=, in | Â |
tag | string | =, !=, in | Â |
treeid | long | =, !=, in | API only |
Requirements | Â | Â | Â |
Field | Data Type | Operator | Â |
altid | string | , ! | Â |
creator | string | =, !=, in | Â |
creatorid | long | =, !=, in | API only |
details | string | , ! | Â |
id | long | =, !=, in | Â |
name | string | , ! | Â |
priority | string | =, !=, in | Â |
project | string | =, !=, in | Â |
release | string | =, !=, in | Â |
requirementtreeid | long | =, !=, in | API only |
url | string | , ! | Â |
Â
Â
LIST OF KEYWORDS
Â
and
not
or
Starting Release 8.2, Zephyr Enterprise documentation is moving from its current location on Atlassian to a dedicated, standalone Zephyr Enterprise Documentation page. https://support.smartbear.com/zephyr-enterprise/docs/en/welcome-to-zephyr-enterprise.html