nonArchivedVersions()

Description:

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

SyntaxnonArchivedVersions()
nonArchivedVersions(project, ...)
Available sincev1.0.0-RELEASE
Supported fieldsAffectedVersion, FixVersion, custom fields of type Version
Supported operatorsIN , 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