archivedVersions()

Description:

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

SyntaxarchivedVersions()
archivedVersions(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 because they have been archived:

fixVersion IN unreleasedVersions() AND fixVersion IN archivedVersions() 

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

affectedVersion IN archivedVersions("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)
· JRASERVER-66325 - JQL to search the ArchivedVersions (by Arpita)

JQL Function Reference