# WAS operator in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/was-operator/

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

- `BY` (optional: no): A user, or a list in parentheses. The user must exist on the site.
- `AFTER` (optional: no): Only changes after this date.
- `BEFORE` (optional: no): Only changes before this date.
- `ON` (optional: no): Only changes on this date.
- `DURING` (optional: no): A pair of dates in parentheses, for example ("2026-11-01","2026-12-01").

## 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 2026-11-29.

```
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 2026-11-29.

```
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 2026-11-29.

```
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 2026-11-29.

```
status WAS "In Progress" AND status != "In Progress" AND project = WEB ORDER BY updated DESC
```

Website work that was in progress and has moved on to another status. Run on Jira Cloud on 2026-11-29.

```
priority WAS "High" ORDER BY updated DESC
```

Items that are high priority now or were at some point, to review work that was later downgraded. Run on Jira Cloud on 2026-11-29.

## 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 as `status 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. Add `AND 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

- [Reopened: was Done, open again](https://goingstellar.ro/tools/jql-examples/#reopened)
- [Once mine, now someone else&#x27;s](https://goingstellar.ro/tools/jql-examples/#assigned-to-me-before)

## 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.

## Related

- [WAS IN](https://goingstellar.ro/reference/jql/was-in-operator/)
- [WAS NOT](https://goingstellar.ro/reference/jql/was-not-operator/)
- [WAS NOT IN](https://goingstellar.ro/reference/jql/was-not-in-operator/)
- [CHANGED](https://goingstellar.ro/reference/jql/changed-operator/)
- [status](https://goingstellar.ro/reference/jql/status-field/)
- [assignee](https://goingstellar.ro/reference/jql/assignee-field/)

## Sources

- [JQL operators (Atlassian Support, Jira Cloud)](https://support.atlassian.com/jira-software-cloud/docs/jql-operators/)

