JQL operator
WAS NOT IN operator in JQL: syntax and examples
WAS NOT IN keeps the work items whose field has never held any of the values in a list. It is the shorthand for several WAS NOT conditions joined by AND. Use it to find work that skipped a step, such as an item that reached Done without ever being In Progress.
Syntax
field WAS NOT IN (value1, value2, ...)
field WAS NOT IN (value1, value2) predicate
Works with
- Fields: Assignee, Fix version, Priority, Reporter, Resolution, Status
- Predicates: AFTER, BEFORE, BY, DURING, ON
- Not with: other fields such as Labels, and a single value without brackets
Examples
project = WEB AND status = Done AND status WAS NOT IN ("In Progress")Finished work that never went through In Progress, which usually means someone moved it straight to Done. A quick process check.
Run on Jira Cloud on .
project = WEB AND status was not in ("In Progress", "In Review") AND statusCategory = DoneDone work that skipped both the working and the review status. The list holds one condition for both values.
Run on Jira Cloud on .
status WAS NOT IN (Done, Closed) BEFORE "2026/11/01"Work that had not been Done or Closed at any point before 1 November, which is the starting point for a month-end report.
Run on Jira Cloud on .
project = SCRUM AND status WAS NOT IN ("In Progress") DURING (startOfWeek(-1w), startOfWeek())Looks only at last week: SCRUM work that did not hold the In Progress status during that week. DURING takes two dates and functions are allowed in it.
Run on Jira Cloud on .
project = WEB AND priority WAS NOT IN (High, Highest) AND priority = MediumMedium-priority work that was never raised to High or Highest, to check that urgent items did get escalated.
Run on Jira Cloud on .
assignee WAS NOT IN (currentUser())Work that has never been assigned to you, for example to see what you have not touched yet.
Run on Jira Cloud on .
Pitfalls
- Only six fields keep this kind of history: Assignee, Fix version, Priority, Reporter, Resolution and Status.
labels WAS NOT IN (checkout)returns "History searches do not support the 'labels' field." Use a plainlabels not in (checkout)for the current value. - The list needs brackets, even for one value.
status WAS NOT IN "Done"returns "Operator 'was not in' does not support the non-list value '"Done"' for field 'status'." An empty list()is a syntax error. - Predicates have strict inputs.
DURING ("2026/11/01")returns "The DURING predicate must be supplied with exactly 2 date values." A bad date such asBEFORE "garbage"lists the valid formats: 'yyyy/MM/dd HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy/MM/dd', 'yyyy-MM-dd', or a period like '-5d'. A user name inBYmust be an existing user. - It is not the same as
status not in (...). NOT IN looks only at the value right now. WAS NOT IN looks at every value the field ever had, so work that is In Progress now can never matchstatus WAS NOT IN ("In Progress")(checked on Jira Cloud, November 2026).
Questions and answers
Is WAS NOT IN the same as several WAS NOT conditions?
Yes. The Atlassian docs say status WAS NOT IN ("Resolved","In Progress") equals status WAS NOT "Resolved" AND status WAS NOT "In Progress".
Does it match a value by id as well as by name?
Yes. The docs say it matches the name that was configured when the field changed, and also the id behind that name, so "4" matches as well as "Resolved".