# unreleasedVersions() in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/unreleasedversions/

unreleasedVersions() stands for every version that is still open, in one project or in all of them. Use it to list the scope of upcoming releases, to see what is still unfinished before a release, and to find bugs that affect a build nobody has shipped yet.

## Syntax

```
unreleasedVersions()
unreleasedVersions(project)
```

## Arguments

- `project` (optional: yes): Optional project key. Leave it out to take the unreleased versions of every project you can see.

## Works with

- Fields: AffectedVersion, FixVersion, custom fields of type Version
- Operators: IN, NOT IN
- Not with: =, !=, ~, !~, >, >=, <, <=, IS, IS NOT, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

## Examples

```
fixVersion in unreleasedVersions(WEB) ORDER BY priority DESC
```

All WEB work planned for a release that is not out yet, most urgent first. A scope list for a release meeting. Run on Jira Cloud on 2026-11-29.

```
project = WEB AND fixVersion in unreleasedVersions(WEB) AND statusCategory != Done
```

What still stands between the team and the next WEB release. Run it on the morning of a release. Run on Jira Cloud on 2026-11-29.

```
statusCategory = Done AND fixVersion in unreleasedVersions(WEB)
```

Finished work waiting for its release. This is the draft of the release notes before the version is marked as released. Run on Jira Cloud on 2026-11-29.

```
affectedVersion in unreleasedVersions(MOB) AND issuetype = Bug
```

Bugs found in a MOB build that has not shipped. They can be fixed before users ever see them. Run on Jira Cloud on 2026-11-29.

```
project = MOB AND fixVersion in unreleasedVersions(MOB) AND priority = High AND statusCategory != Done
```

Open high-priority MOB work inside upcoming releases. Check it before you set a release date. Run on Jira Cloud on 2026-11-29.

```
fixVersion in unreleasedVersions()
```

Work planned for any open version in any project you can see. Run on Jira Cloud on 2026-11-29.

## Pitfalls

- Only `IN` and `NOT IN` work. `fixVersion = unreleasedVersions(WEB)` fails the same way as for `releasedVersions()`, with a message about a list value (checked on Jira Cloud, November 2026).
- It is not a way to find work with no version. For that, use `fixVersion is EMPTY`; the function only names versions that exist and are still open.
- An unknown project key in the argument is an error, not an empty result: "Could not resolve the project 'NOPE' provided to function 'unreleasedVersions'." (checked on Jira Cloud, November 2026).
- To get a single version, not all open ones, use `earliestUnreleasedVersion()`. It returns the next release in the list order of the Releases page.

## Questions and answers

### How do I see what is left in the next release in Jira?

Use project = KEY AND fixVersion = earliestUnreleasedVersion(KEY) AND statusCategory != Done. For every open version at once, use fixVersion in unreleasedVersions(KEY).

## Related

- [releasedVersions()](https://goingstellar.ro/reference/jql/releasedversions/)
- [earliestUnreleasedVersion()](https://goingstellar.ro/reference/jql/earliestunreleasedversion/)
- [fixVersion](https://goingstellar.ro/reference/jql/fixversion-field/)
- [affectedVersion](https://goingstellar.ro/reference/jql/affectedversion-field/)
- [IN](https://goingstellar.ro/reference/jql/in-operator/)
- [priority](https://goingstellar.ro/reference/jql/priority-field/)

## Sources

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

