Documentation / Reference
KazeQL reference
Every field, function, period and rule of the query language.
KazeQL is the one query language for search, saved views, reports, dashboards and agents. For a gentler start, see Searching with KazeQL. Agents can check a query with validate and see what it means with explain.
Grammar
query := expression? sort*
expression := term ( ("AND" | "OR")? term )* a space means AND
term := "NOT"? atom | "-" atom | "(" expression ")"
atom := field ":" value | "@saved(name)" | words | "quoted words"
value := word | "quoted" | (a, b) | from..to | >n | >=n | <n | <=n | @function
sort := "sort:" field ( "-desc" )?Fields
Custom fields are written cf. followed by the field’s name in lower case with dashes, such as cf.customer-tier.
| Field | Kind | Values | Sortable |
|---|---|---|---|
id | Word | Any | – |
key | Word | Any | Yes |
type | Word | initiativeepicstorytaskbugspikedebtimpedimentsubtask | Yes |
project | Word | Any | – |
title | Text | Any | Yes |
status | Word | Any | Yes |
category | Ordered | draftreadyin-progressin-reviewdone | Yes |
resolution | Word | donenone | – |
assignee | Person: a name, @me, none | @menone | Yes |
assignee-kind | Word | humanagentpair | – |
accountable | Person: a name, @me, none | @me | – |
reporter | Person: a name, @me, none | @me | – |
sponsor | Person: a name, @me, none | @menone | – |
team | Word | Any | – |
priority | Ordered | lowmediumhighurgent | Yes |
label | Word | Any | – |
sprint | Word | activefutureclosednone | Yes |
release | Word | Any | – |
target-date | Date: a day, a period, or -7d | Any | Yes |
forecast-date | Date: a day, a period, or -7d | Any | Yes |
start-date | Date: a day, a period, or -7d | Any | Yes |
created | Date: a day, a period, or -7d | Any | Yes |
updated | Date: a day, a period, or -7d | Any | Yes |
resolved | Date: a day, a period, or -7d | Any | Yes |
started | Date: a day, a period, or -7d | Any | Yes |
risk | Ordered | lowmediumhigh | Yes |
review | Word | nonewaitingchanges-requestedapproved | – |
cost | Number | Any | Yes |
time-logged | Number | Any | Yes |
outcome | Word | hasmissing | – |
spec | Word | completeincomplete | – |
verification | Word | passingfailingpartialnone | – |
parent | Word | Any | – |
child-of | Word | Any | – |
epic | Word | none | – |
blocks | Word | Any | – |
blocked-by | Word | Any | – |
linked | Word | Any | – |
duplicates | Word | Any | – |
has | Word | childrenopen-blockersblockerquestionneeds-detailcommentspull-request | – |
estimate | Number | Any | Yes |
Functions
@methe person searching, or the accountable person for an agent@my-teameveryone on this team@team(…)a team by name or key@user(…)a person by name or email@agent(…)an agent by name@nowtoday@start-of(…)the first day of a period, such as @start-of(this-month)@end-of(…)the last day of a period@saved(…)the conditions of a saved view, up to 3 deep@baseline(…)when a baseline was saved, for since:
Periods
todayyesterdaythis-weeklast-weeknext-weekthis-monthlast-monthnext-monththis-quarterlast-quarternext-quarterthis-yearlast-year and relative days, weeks, months or years such as -7d, +2w, -3m. Weeks start on Monday and days are UK days.
History
was:status=in-reviewhad that value at any time. Add@2026-01-15for a given day.changed:target-datechanged at all. Addfrom:,to:,after:,before:,by:orsince:@baseline(name).- History is kept for statuscategoryassigneeprioritysprinttarget-datestart-datetitlelabelepic and forecast-date.
Limits
Up to 1,000 characters, 80 parts, 12 levels of brackets and 5 history parts. A search that would need more data than Kaze will read at once is refused with a reason, never answered from part of the data.