Going Stellar

Home/JQL reference

JQL operator

WAS IN operator in JQL: syntax and examples

WAS IN checks a field's history against a list. It matches work items that hold one of the values now or held one at any earlier time. It saves you from writing a WAS condition for every value joined by OR.

Syntax

field WAS IN (value1, value2) [predicate]
predicates: AFTER, BEFORE, BY, DURING, ON

Works with

  • Fields: Assignee, Fix version, Priority, Reporter, Resolution, Status (history fields only)
  • Functions: currentUser(), membersOf() and date functions in the predicates
  • Not with: Labels, Resolved and other fields that keep no value history

Examples

status WAS IN ("In Progress", "In Review")

Work that has been under development or review at some point, whatever its status is today.

Run on Jira Cloud on .

status WAS IN ("To Do", "Backlog") AND status = Done

Items that are finished and that started their life in one of two early statuses. Add a project to see how often work skips the middle of the workflow.

Run on Jira Cloud on .

status WAS IN ("In Progress", "Done") DURING (startOfWeek(), now())

Work that was either started or finished this week. DURING takes two dates, and a function can be one of them.

Run on Jira Cloud on .

assignee WAS IN (membersOf("jira-users-overheat"))

Work that has ever been assigned to anyone in a group. Useful for a handover review when people change teams.

Run on Jira Cloud on .

reporter WAS IN (currentUser(), "Gigi")

Work reported by either of two people, in case the reporter was changed during a migration.

Run on Jira Cloud on .

status WAS IN ("In Progress") BY currentUser() AFTER -30d

Work that you moved into progress in the last 30 days. BY and AFTER can sit together.

Run on Jira Cloud on .

Pitfalls

  • A value that does not exist is not an error in this operator. status WAS IN ("Nonexistent") runs and finds nothing, while status = "Nonexistent" returns "The value 'Nonexistent' does not exist for the field 'status'." A typo in a history query looks like an empty result (checked on Jira Cloud, November 2026).
  • The list needs brackets: status WAS IN "Done" returns "Operator 'was in' does not support the non-list value '"Done"' for field 'status'."
  • Only fields with a change history work. labels WAS IN (demo) returns "History searches do not support the 'labels' field." The Atlassian docs list Assignee, Fix Version, Priority, Reporter, Resolution and Status.

Questions and answers

Is WAS IN the same as several WAS conditions with OR?

Yes. The docs say status WAS IN ('Resolved', 'Closed') equals status WAS "Resolved" OR status WAS "Closed".

Sources

  1. JQL operators (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages