Going Stellar

Home/JQL reference

JQL field

labels in JQL: field syntax and examples

The labels field matches the free-text tags on a work item. Use it to pull a topic across projects, or to find work that nobody has tagged yet. It takes no functions and no history operators.

Syntax

labels = checkout
labels in (checkout, demo)
labels is EMPTY
labels not in (checkout) or labels is EMPTY

Works with

  • Field type: LABEL, with auto-complete
  • Operators: =, !=, IS, IS NOT, IN, NOT IN
  • Functions: none
  • Not with: ~, !~, >, >=, <, <=, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

Examples

labels = checkout AND statusCategory != Done ORDER BY updated DESC

Open work for one topic, across every project, with the most recently touched item first.

Run on Jira Cloud on .

labels is EMPTY AND statusCategory != Done AND project = MOB

Unfinished work that nobody has tagged. Run it before a planning session so every item lands in the right filter or board.

Run on Jira Cloud on .

labels in (checkout, demo) AND project = WEB

Work in one project that carries either of two labels, for a combined release checklist.

Run on Jira Cloud on .

labels not in (checkout) or labels is EMPTY

Everything that does not carry the label, including work without any label. This is the form the Atlassian docs recommend for exclusions.

Run on Jira Cloud on .

labels is not EMPTY AND statusCategory != Done ORDER BY updated DESC

Tagged work that is still open, for a quick look at which labels are actually in use.

Run on Jira Cloud on .

labels is EMPTY AND created < -30d AND project = WEB

Old work that never got a label. Good input for a backlog cleanup.

Run on Jira Cloud on .

Pitfalls

  • labels != checkout leaves out work that has no labels at all, so it is not the opposite of labels = checkout. Add or labels is EMPTY to get everything else (checked on Jira Cloud, November 2026).
  • labels not in (demo) drops a work item as soon as one of its labels is in the list. A work item with both checkout and demo does not survive labels in (checkout, demo) AND labels not in (demo) (checked on Jira Cloud, November 2026).
  • Matching ignores case: labels = Checkout finds work labelled checkout. A label that does not exist is not an error. labels = nosuchlabel runs and returns nothing, so a typo looks like an empty result (checked on Jira Cloud, November 2026).
  • Labels cannot contain spaces, and the search says so: labels = "Check Out" returns "The label 'Check Out' can't contain spaces." An unquoted word such as check fails differently, with "'check' is a reserved JQL word". There is no partial match: labels ~ "checkout" returns "The operator '~' is not supported by the 'labels' field." and labels WAS checkout returns "History searches do not support the 'labels' field."

Ready-made queries

Questions and answers

How do I find work that has no label?

Use labels is EMPTY. To list work that is missing one particular label, use labels not in (x) or labels is EMPTY.

Sources

  1. JQL fields (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages