Versions Compared

Key

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


Page properties
hiddentrue
Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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

Page properties
hiddentrue
Short description

Returns a text list with released version names of the current issue's project. Returned versions may be archived.

Output Statussubtletruetitletext listAvailable since UI Text Box
sizemedium
typeinfo

This function returns a text list with all released version names of the current issue's project. Returned versions may be archived 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(%{
00074
issue.fixVersions}
)
 in releasedVersions()


This example validates that all

fixed versions

Fix Version/s 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

UI Expand
titleAdditional information
ParameterInput (data type)Description
xxx
Status
subtletrue
titledata type
Parameter description.
UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list




UI Text Box
sizemedium
typeinfo

Variant where you additionally define multiple projects.

Arguments projects is a comma-separated list of project keys or project names.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
toStringList(^%{
00074
issue.fixVersions}) in releasedVersions(^%{
00018
issue.project})


This example validates that all

fixed versions

Fix Version/s of a

foreign

seed issue are released. This kind of comparison is usually used in a Logical expression.

To achieve this, the following functions are used:



Parameter description
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxx
projects

Status
subtletrue
title

data type

text

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
id1


Parser function cloud
Map(error)
NotesNot possible to access to the project's versions, only to the ones that are assigned to the current issue.




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