Going Stellar

Home/JQL reference

JQL field

project (space) in JQL: field syntax and examples

The project field limits a search to one or more projects, which the docs now call spaces. Search by key, by name or by numeric ID. It almost always sits at the start of a query, before the filters that narrow the result.

Syntax

project = WEB
project in (WEB, MOB)
project = "Website Relaunch"
project in spacesLeadByUser()

Works with

  • Field type: PROJECT, with auto-complete
  • Names: project, spaceJira
  • Operators: =, !=, IS, IS NOT, IN, NOT IN
  • Functions with IN and NOT IN: spacesLeadByUser(), spacesWhereUserHasPermission(), spacesWhereUserHasRole(); the older projectsLeadByUser() family also works
  • Not with: ~, !~, >, >=, <, <=, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

Examples

project = WEB AND status = "In Progress" ORDER BY priority DESC, updated ASC

The stand-up list for one project, most urgent first and the stalest first within a priority.

Run on Jira Cloud on .

project in (WEB, MOB) AND statusCategory != Done ORDER BY project ASC, updated DESC

Open work from two projects in one list, grouped by project.

Run on Jira Cloud on .

project = "Mobile App 3.0"

Search by project name when you do not remember the key. A name with spaces needs quotes.

Run on Jira Cloud on .

project not in (SCRUM) AND assignee is EMPTY AND statusCategory != Done ORDER BY created ASC

Unassigned open work everywhere except one project, oldest first.

Run on Jira Cloud on .

project in spacesLeadByUser()

Every project that you lead, for a lead's overview filter that follows you when your role changes.

Run on Jira Cloud on .

project = WEB AND type = Bug AND statusCategory != Done

Open bugs in a single project, for a release-readiness check.

Run on Jira Cloud on .

Pitfalls

  • The docs say space = WEB, but on Jira Cloud it returns "Field 'space' does not exist or you do not have permission to view it." Use project. The name shown in the docs' syntax line, spaceJira, does run (checked on Jira Cloud, November 2026).
  • Names with spaces need quotes. project = Website Relaunch returns "Expecting either 'OR' or 'AND' but got 'Relaunch'." Keys and names are not case sensitive.
  • A project that does not exist is rejected, unlike some other fields: project = NOPE returns "The value 'NOPE' does not exist for the field 'project'." (checked on Jira Cloud, November 2026).
  • The key wins over a name. The docs warn that when one project's key equals another project's name, the key takes preference and hides the second project. Use the numeric ID to be exact: project = 10000. There are no ranges or text matches, so project > WEB and project ~ WEB are errors.

Questions and answers

Can I write space = KEY in JQL?

Not yet on Jira Cloud. The docs use the word space, but the JQL field is still project.

Sources

  1. JQL fields (Atlassian Support, Jira Cloud)
  2. JQL functions (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages