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 descriptionReturns a string list  Statussubtletruetitletext list with released version names of the current issue's project. Returned versions may be archived.Output Statussubtletruetitletext list UI Text Box
sizemedium
typeinfo

The This function returns a string list  Statussubtletruetitletext 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()
The function


This example validates that all

fixed versions

Fix Version/s are released.

UI Expand
titleAdditional information

This kind of comparison is usually used in a Logical expression.

To achieve this, the following functions are used:

Parameters used in this function

Parameter description.
ParameterInput (data type)Description
<parameter>
Status
subtletrue
titledata type



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titletext list




with released version names of projects in argument projects. Returned versions may be archived.Arguments projects is a comma-separated list of project keys or project namesVariant where you additionally define multiple projects.

UI Text Box
sizemedium
typeinfo

The function returns a 

Status
subtletrue
titletext list


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


UI Expand
titleExamples


Parser expressionDescription


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


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
<parameter>
projects

Status
subtletrue
title

data type

text

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



UI Expand
titleOutput

The 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