# latestReleasedVersion() in JQL: syntax and examples

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

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

- `project` (optional: no): The project key whose latest released version you want. The Atlassian docs show it as required.

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

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

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

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

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

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

## 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/)
- [Equals (=)](https://goingstellar.ro/reference/jql/equals-operator/)
- [Not equals (!=)](https://goingstellar.ro/reference/jql/not-equals-operator/)

## Sources

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

