releasedVersions()

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.


Bash
releasedVersions() #Output: Text list


Examples

Parser expression

Description

Bash
releasedVersions()

Given the configuration on Versions, this example returns :

[JWT 2.0, JWT 5.0]

Bash
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:

Output

This function returns a text list


Variant where you additionally define multiple projects.


Bash
releasedVersions(projects) #Output: Text list


Examples

Parser expression

Description

Bash
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:

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

projects

text

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

Output

This function returns a text list


📚 Use cases and examples