# NOT keyword in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/not-keyword/

NOT turns a clause upside down. It can sit in front of a single condition or in front of a bracketed group, which is how you exclude a whole combination at once. The result keeps everything that fails the clause.

## Syntax

```
NOT field = value
NOT (condition1 OR condition2)
field NOT IN (value1, value2)
```

## Works with

- Before: a condition, or a bracketed group of conditions
- Operators: =, ~, IN and IS in front, with NOT IN and IS NOT as the built-in forms
- Not with: placing NOT between a field and its operator, such as status NOT = Done

## Examples

```
NOT (status = Done OR status = Closed) AND project = WEB
```

Open work in WEB when the workflow ends in two different statuses. The bracket negates both at once. Run on Jira Cloud on 2026-11-29.

```
NOT (assignee = currentUser() OR reporter = currentUser())
```

Items you neither own nor raised, which is what you check before offering to help another person's queue. Run on Jira Cloud on 2026-11-29.

```
project = WEB AND NOT summary ~ "login"
```

Everything except the login topic. Text fields have no != form, so NOT in front of ~ does the job. Run on Jira Cloud on 2026-11-29.

```
project in (WEB, MOB) AND NOT (project = WEB AND priority = High)
```

Both projects, minus the WEB items that are high priority. NOT removes one specific combination and leaves the rest. Run on Jira Cloud on 2026-11-29.

```
NOT labels is EMPTY
```

Work that carries at least one label, written as a negated emptiness check. Run on Jira Cloud on 2026-11-29.

## Pitfalls

- NOT only reverses the clause right after it. `NOT project = WEB AND project in (WEB, MOB)` returns the MOB items, because the AND part is not negated. To negate several clauses, bracket them (checked on Jira Cloud, November 2026).
- `NOT labels = checkout` and `labels != checkout` returned the same items, and both skip work that has no label. To keep unlabelled work, write `NOT labels = checkout OR labels is EMPTY` in brackets (checked on Jira Cloud, November 2026).
- The position matters. `status NOT = Done` fails with "Expecting 'IN' but got '='." NOT goes in front of the clause, and the only form that sits after the field is `NOT IN`.
- A negated bracket is easy to misread when it holds AND. `NOT (a AND b)` keeps items that fail a or fail b, so it is wider than `NOT a AND NOT b`.

## Questions and answers

### Is NOT field = value the same as field != value?

Yes, the docs treat them as the same, and both leave out items where the field is empty.

## Related

- [Not equals (!=)](https://goingstellar.ro/reference/jql/not-equals-operator/)
- [NOT IN](https://goingstellar.ro/reference/jql/not-in-operator/)
- [IS NOT](https://goingstellar.ro/reference/jql/is-not-operator/)
- [DOES NOT CONTAIN (!~)](https://goingstellar.ro/reference/jql/does-not-contain-operator/)
- [AND](https://goingstellar.ro/reference/jql/and-keyword/)
- [OR](https://goingstellar.ro/reference/jql/or-keyword/)

## Sources

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

