Status
Tech review

Style guide




Short description

Returns all released versions.

Output

Available since




This function returns a text list with all released version names of the current issue's project. This can also be an archived version!

The output will be ordered by release date in ascending order, and by sequence (i.e., as shown in UI) in ascending order.


releasedVersions() #Output: Text list


See the table blow:

NameStatusRelease datePosition in UI (e.g. Release Hub)

JWT 6.0 


#1

JWT 5.0 

  

#2

JWT 3.1 

 

#3

JWT 3.0 


#4

JWT 2.0 

 

#5

JWT 1.0 


#6


The output of releasedVersions() will be: [JWT 2.0, JWT 5.0]


Parser expressionDescription


toStringList(%{issue.fixVersions} in releasedVersions()


This example validates that all Fix Version/s are released. This kind of comparison is usually used in a Logical expression.

To achieve this, the following functions are used:



This function returns a




Variant where you additionally define multiple projects.


releasedVersions(projects) #Output: Text list



Parser expressionDescription


toStringList(^%{issue.fixVersions}) in releasedVersions(^%{issue.project})


This example validates that all Fix Version/s of a seed issue are released. This kind of comparison is usually used in a Logical expression.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
projects

Text including valid project keys or names in a comma-separated list.



This function returns a