Going Stellar

Home/JQL reference

JQL operator

Not equals (!=) operator in JQL: syntax and examples

!= keeps the work items whose field is not the value you name. It is how you hide one status, one project or one issue type. Its main catch is that it only matches fields that have some other value, so empty fields disappear from the result.

Syntax

field != value
NOT field = value

Works with

  • Fields: Assignee, Reporter, Status, Priority, Resolution, Project, Issue type, Labels, Fix version and most other non-text fields
  • Functions: single-value functions such as currentUser()
  • Not with: text fields (use !~ instead) and functions that return a list, such as membersOf() (use NOT IN)

Examples

project = WEB AND status != Done AND status != Closed ORDER BY priority DESC

Open work in WEB when the workflow has two end statuses. Each excluded value gets its own condition joined by AND.

Run on Jira Cloud on .

project = WEB AND issuetype != Epic AND issuetype != Subtask AND statusCategory != Done ORDER BY created DESC

Stories, tasks and bugs only, newest first, with epics and sub-tasks out of the way.

Run on Jira Cloud on .

project != WEB AND statusCategory != Done

Open work in every project except WEB. Useful when one team owns a project and another team wants to see everything else.

Run on Jira Cloud on .

project = WEB AND (labels != checkout OR labels is EMPTY)

Everything without the checkout label, including work that has no labels at all. The second condition puts the unlabelled work back.

Run on Jira Cloud on .

assignee != abcde-12345-fedcba or assignee is empty

Work that is not assigned to one person, including unassigned work. This is the Atlassian docs example, and it runs as written with an account id.

Run on Jira Cloud on .

assignee != null

Another way to write assignee is not EMPTY: every item that has someone on it.

Run on Jira Cloud on .

Pitfalls

  • The empty check is not optional when you care about empty values. labels != checkout returns only work that has at least one label and none of them is checkout. Work without any label is left out, which looks like a complete answer but is not (checked on Jira Cloud, November 2026).
  • Joining two != conditions with OR matches everything. status != Done OR status != Closed is true for every item, because a status can not be both. To exclude several values, use AND, or status not in (Done, Closed) (checked on Jira Cloud, November 2026).
  • != does not work on text fields. summary != "x" returns "The operator '!=' is not supported by the 'summary' field." Use summary !~ "x".
  • A list function after != is rejected: assignee != membersOf("jira-users-overheat") returns "Operator '!=' does not support the list value 'membersOf(jira-users-overheat)' for field 'assignee'." Use assignee not in membersOf("jira-users-overheat").

Ready-made queries

Questions and answers

Is != the same as NOT?

Yes. The Atlassian docs say field != value is the same as NOT field = value, and that field != EMPTY is the same as field IS NOT EMPTY.

How do I exclude a value and keep the empty ones?

Add an empty check in brackets: (component != fred OR component is EMPTY). This is the pattern the Atlassian docs recommend.

Sources

  1. JQL operators (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages