Going Stellar

Home/JQL reference

JQL operator

NOT IN operator in JQL: syntax and examples

NOT IN keeps the work items whose field value is none of the values in a list. It is the shortcut for a chain of != conditions, and it is the usual way to hide finished statuses, low priorities or issue types you do not plan.

Syntax

f
i
e
l
d
 
N
O
T
 
I
N
 
(
v
a
l
u
e
1
,
 
v
a
l
u
e
2
,
 
.
.
.
)

Works with

  • Fields: Assignee, Priority, Reporter, Resolution, Status, Labels, Issue type and most other list-like fields
  • Functions: membersOf() on user fields, and the other list-returning functions
  • Not with: ~, !~, and a bare value without parentheses

Examples

project in (WEB, MOB) AND priority not in (Low, Lowest) AND statusCategory != Done ORDER BY priority DESC

A triage list that skips the lowest priorities and everything already finished, most urgent first.

Run on Jira Cloud on .

project = MOB AND status not in (Done, Closed, Resolved) ORDER BY created DESC

Everything in MOB that is not in one of the end statuses. Useful when a workflow has three names for "finished".

Run on Jira Cloud on .

issuetype not in (Epic, Subtask) AND project = WEB AND statusCategory != Done

Stories, tasks and bugs only, for a sprint-planning view that has no epics or sub-tasks in the way.

Run on Jira Cloud on .

reporter not in membersOf("jira-admins-overheat") AND project = WEB

Requests that were raised by people outside the admin group, for example to see what the wider team asks for.

Run on Jira Cloud on .

labels not in (checkout, demo) OR labels is EMPTY

Work that carries neither of two labels, including work with no label at all. The second clause is what brings the unlabelled items back.

Run on Jira Cloud on .

assignee not in (EMPTY)

EMPTY can be a list member, so this is another way to write "has an assignee".

Run on Jira Cloud on .

Pitfalls

  • NOT IN never matches an empty field. labels not in (checkout, demo) skips every item that has no label, so you get a short list that looks complete. Add OR labels is EMPTY when unlabelled items belong in the answer (checked on Jira Cloud, November 2026).
  • When you add the empty clause, use parentheses. project = WEB AND assignee not in (currentUser()) OR assignee is EMPTY reads as two halves joined by OR, so it also returns unassigned work from other projects such as SCRUM. Write project = WEB AND (assignee not in (currentUser()) OR assignee is EMPTY).
  • A value in the list has to exist. status not in (Doing) returns "The value 'Doing' does not exist for the field 'status'." One misspelled status stops the whole query.
  • The list needs its brackets even for one value: status not in "Done" returns "Operator 'not in' does not support the non-list value '"Done"' for field 'status'."

Ready-made queries

Questions and answers

How do I use NOT IN and still include unassigned work items?

Put an empty check next to it, in parentheses: (assignee not in (jack, jill) OR assignee is EMPTY).

Is NOT IN the same as several != conditions?

Yes. The Atlassian docs say reporter NOT IN (tom, jane, harry) equals reporter != tom AND reporter != jane AND reporter != harry.

Sources

  1. JQL operators (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages