JQL function
earliestUnreleasedVersion() in JQL: syntax, examples
earliestUnreleasedVersion() stands for the next release of a project: the unreleased version at the bottom of the list on the Releases page. Use it for a standing query that always shows the scope of the next release, without changing the version name every time.
Syntax
e
a
r
l
i
e
s
t
U
n
r
e
l
e
a
s
e
d
V
e
r
s
i
o
n
(
p
r
o
j
e
c
t
)
Arguments
| Argument | What it does | Optional |
|---|---|---|
project | The project key whose next unreleased version you want. The Atlassian docs show it as required. | no |
Works with
- Fields: AffectedVersion, FixVersion, custom fields of type Version
- Operators: =, !=
- Not with: ~, !~, >, >=, <, <=, IS, IS NOT, IN, NOT IN, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED
Examples
fixVersion = earliestUnreleasedVersion(WEB)The full scope of the next WEB release. Save it as a filter and it follows the release train by itself.
Run on Jira Cloud on .
fixVersion = earliestUnreleasedVersion(WEB) AND statusCategory != Done ORDER BY priority DESCWhat is still open for the next WEB release, most urgent first. A release-day checklist.
Run on Jira Cloud on .
affectedVersion = earliestUnreleasedVersion(MOB) OR fixVersion = earliestUnreleasedVersion(MOB)Everything tied to the next MOB release, as a fix target or as the build where a bug was found.
Run on Jira Cloud on .
project = WEB AND fixVersion = earliestUnreleasedVersion(WEB) AND assignee is EMPTYRelease scope that nobody owns yet. Assign these before the release is frozen.
Run on Jira Cloud on .
project = MOB AND fixVersion != earliestUnreleasedVersion(MOB) AND fixVersion in unreleasedVersions(MOB)MOB work planned for later versions, not the next one. Useful when you decide what can slip.
Run on Jira Cloud on .
Pitfalls
- Order, not date, decides which version is earliest. The docs say the version at the bottom of the Releases page list counts as the earliest, and dragging versions around changes the answer.
INis refused because the function gives one value: "Operator 'in' does not support the non-list value 'earliestUnreleasedVersion(WEB)' for field 'fixVersion'." Use=(checked on Jira Cloud, November 2026).- The function follows the version list, so a saved filter changes content when the version is released and the next one becomes the earliest. Do not use it for a report you want to freeze.
- An unknown project key is an error, and so is a mistyped one: "Could not resolve the project 'NOPE' provided to function 'earliestUnreleasedVersion'." (checked on Jira Cloud, November 2026).
Questions and answers
How do I get the next release in JQL without typing its name?
Use fixVersion = earliestUnreleasedVersion(KEY). It resolves to the unreleased version at the bottom of the project's version list.