nonArchivedVersions()

nonArchivedVersions()

Description:

Perform searches based on versions that are not currently archived.
See also: archivedVersions()

 

Syntax

nonArchivedVersions()
nonArchivedVersions(project, ...)

Available since

v1.0.0-RELEASE

Supported fields

AffectedVersion, FixVersion, custom fields of type Version

Supported operators

IN , NOT IN

Unsupported operators

= , != , ~ , !~ , > , >= , < , <=

IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED

Examples:

• Find issues fixed in versions that haven't been released yet excluding archived versions:

fixVersion IN unreleasedVersions() AND fixVersion IN nonArchivedVersions()

• Find issues of 'LATAM' project affected by versions that haven't been archived:

affectedVersion IN nonArchivedVersions("LATAM")

Real World Use Cases:

· JRASERVER-10692 - Possibility to search issues for NON ARCHIVED or ARCHIVED versions (by Carole Feugeas)
· JRASERVER-25722 - unreleasedVersions() shouldn't include archived versions (by Joseph Walton)

JQL Function Reference