# project (space) in JQL: field syntax and examples

URL: https://goingstellar.ro/reference/jql/project-field/

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

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

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

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

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

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

Open bugs in a single project, for a release-readiness check. Run on Jira Cloud on 2026-11-29.

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

## Related

- [projectsLeadByUser()](https://goingstellar.ro/reference/jql/projectsleadbyuser/)
- [projectsWhereUserHasPermission()](https://goingstellar.ro/reference/jql/projectswhereuserhaspermission/)
- [IN](https://goingstellar.ro/reference/jql/in-operator/)
- [NOT IN](https://goingstellar.ro/reference/jql/not-in-operator/)
- [type](https://goingstellar.ro/reference/jql/type-field/)
- [Equals (=)](https://goingstellar.ro/reference/jql/equals-operator/)

## Sources

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

