Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

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.


Code Block
languagebash
titleSyntax
linenumberstrue
releasedVersions() #Output: Text list



UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
releasedVersions()


Given the configuration on Versions, this example returns :

[JWT 2.0, JWT 5.0]


Code Block
languagebash
titleSyntax
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:



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list




UI Text Box
sizemedium
typeinfo

Variant where you additionally define multiple projects.


Code Block
languagebash
titleSyntax
linenumberstrue
releasedVersions(projects) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
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:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
projects

Status
subtletrue
titletext

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_releasedversions" and space = currentSpace()


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns all released versions.

Output

Status
subtletrue
titletext list

Available since

Status
subtletrue
colourRed
titleneeds lookup

Label