JQL operator
WAS operator in JQL: syntax and examples
WAS searches the history of a field. It matches work items that have the value now and also those that had it at some point. Optional predicates narrow the search by who made the change and when.
Syntax
field WAS value
field WAS value [BY user] [AFTER "date"] [BEFORE "date"] [ON "date"] [DURING ("date1","date2")]
Arguments
| Argument | What it does | Optional |
|---|---|---|
BY | A user, or a list in parentheses. The user must exist on the site. | no |
AFTER | Only changes after this date. | no |
BEFORE | Only changes before this date. | no |
ON | Only changes on this date. | no |
DURING | A pair of dates in parentheses, for example ("2026-11-01","2026-12-01"). | no |
Works with
- Fields: Assignee, Fix Version, Priority, Reporter, Resolution, Status
- Operators: WAS itself; related history operators are WAS IN, WAS NOT, WAS NOT IN and CHANGED
- Not with: other fields. Summary is rejected with "History searches do not support the 'summary' field."
Examples
status WAS "In Progress"Every work item that is in progress or went through it at some point. Good for checking how much work actually started.
Run on Jira Cloud on .
status WAS "In Progress" BEFORE "2026-11-15"Work that was in progress before mid-November. Use it for a retrospective on what started early.
Run on Jira Cloud on .
status WAS "Done" BY currentUser() DURING ("2026-11-01","2026-12-01")Items you moved to Done in November. It answers a monthly "what did I finish" question.
Run on Jira Cloud on .
status WAS "In Progress" ON "2026-11-20"Work that was in progress on one day. Use it to rebuild what the team was doing on a past date.
Run on Jira Cloud on .
status WAS "In Progress" AND status != "In Progress" AND project = WEB ORDER BY updated DESCWebsite work that was in progress and has moved on to another status.
Run on Jira Cloud on .
priority WAS "High" ORDER BY updated DESCItems that are high priority now or were at some point, to review work that was later downgraded.
Run on Jira Cloud on .
Pitfalls
- WAS matches the value name that was configured when the change happened, and also the value ID.
status WAS "4"matches the same items asstatus WAS "Resolved"when 4 is the ID of Resolved. - BY takes one user or a list in parentheses, as in
BY (jsmith,srogen). Every name in it must be an existing user, or the query is rejected. - WAS includes the current value.
status WAS "In Progress"also returns items that are in progress right now. AddAND status != "In Progress"to get only the ones that left it. - If an item has more than 10,000 changes, only the most recent changes are searched.
Ready-made queries
Questions and answers
What is the difference between WAS and CHANGED in JQL?
WAS matches items that have or had a value. CHANGED matches items where the field was changed, and can filter by the old value with FROM and the new one with TO.