Going Stellar

Home/JQL reference

JQL function

latestReleasedVersion() in JQL: syntax and examples

latestReleasedVersion() stands for one version: the most recently released one in a project. Use it to see what went out last, or to find bugs reported against the current production build. It returns a single value, so it works with = and !=, not with IN.

Syntax

l
a
t
e
s
t
R
e
l
e
a
s
e
d
V
e
r
s
i
o
n
(
p
r
o
j
e
c
t
)

Arguments

ArgumentWhat it doesOptional
projectThe project key whose latest released 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 = latestReleasedVersion(WEB)

Everything that shipped in the most recent WEB release. Paste it into a release announcement draft.

Run on Jira Cloud on .

affectedVersion = latestReleasedVersion(WEB) AND issuetype = Bug AND statusCategory != Done ORDER BY priority DESC

Open bugs reported against the build now in production. A triage list after a release.

Run on Jira Cloud on .

affectedVersion = latestReleasedVersion(MOB) OR fixVersion = latestReleasedVersion(MOB)

All MOB work that relates to the last release, in either direction. Good for a post-release review.

Run on Jira Cloud on .

project = WEB AND fixVersion != latestReleasedVersion(WEB) AND fixVersion in releasedVersions(WEB)

Work from older WEB releases, with the latest one left out. Combine it with releasedVersions() to leave out unreleased versions too.

Run on Jira Cloud on .

fixVersion = latestReleasedVersion(WEB) AND resolved >= startOfWeek()

Items from the last release that were closed this week. Shows late fixes that went out in a version already shipped.

Run on Jira Cloud on .

Pitfalls

  • "Latest" follows the order of versions on the Releases page, not the release dates. If someone drags an old version to the bottom or top of the list, the answer changes (per the Atlassian docs).
  • It is a single value, so IN is refused: "Operator 'in' does not support the non-list value 'latestReleasedVersion(WEB)' for field 'fixVersion'." Write = instead (checked on Jira Cloud, November 2026).
  • An unknown project key fails with "Could not resolve the project 'NOPE' provided to function 'latestReleasedVersion'." Calling it with empty brackets still parses, but the docs describe a project argument, so name the project (checked on Jira Cloud, November 2026).
  • fixVersion != latestReleasedVersion(WEB) says only what the version is not. Add a second clause, such as fixVersion in releasedVersions(WEB), to say which group you mean.

Questions and answers

How do I find bugs in the latest release in Jira?

Use affectedVersion = latestReleasedVersion(KEY) AND issuetype = Bug. Add statusCategory != Done to keep only open ones.

Sources

  1. JQL functions (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages