This function returns a text list with all unreleased version names of the current issue's project.

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


unreleasedVersions() #Output: Text list



Parser expressionDescription


toStringList(%{issue.versions}) any in unreleasedVersions()


This example validates that at least one affected version is unreleased.

To achieve this, the following functions are used:



This function returns a




Variant where you additionally define multiple projects.

Returned versions may either be released or unreleased. Project keys or project names may be entered as a comma-separated list.


unreleasedVersions(projects) #Output: Text list



Parser expressionDescription


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


This example validates that all Fix Version/s of a seed issue are unreleased. 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



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 unreleasedVersions() will be: [JWT 1.0, JWT 6.0, JWT 3.0]. 

(warning) JWT 6.0 will come before JWT 3.0 since it does not have a release date set. If you want to sort by how the versions appear in the UI please use unreleasedVersionsBySequence().



Use cases and examples



Parser function cloud
Map(error)
NotesNot possible to access to the versions that belongs to a project, only to the versions that belongs to an issue.






Status
Tech review

Style guide




Short description

Returns all unreleased versions.

Output

Available since

Label