Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns the name of the latest released version in the current issue's project. The version might also be archived!

The release dates are analyzed in ascending order, and by sequence (i.e., as shown in UI) in ascending order.


Code Block
languagebash
titleSyntax
linenumberstrue
latestReleasedVersion() #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
latestReleasedVersion()


This example returns

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
Returns in the current issue's project.Available since
Short description

the name of the latest released version

Output
Status
subtletrue
titletext

, e.g.:

2.9.2



UI Expand
titleOutput

This function returns a

Status
subtletrue

colourRed
title

needs lookup

text




UI Text Box
sizemedium
typeinfo

Variant where you additionally define multiple projects.

The returned version is the latest version across all projectsProject keys or project names may be entered as a comma-separated listThis function returns the name of the latest released version in the current issue's project.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
latestReleasedVersion("JWT, ATJ")


This example returns the name of the latest released version across all projects,e.g.:

3.1



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



Image AddedUse cases and examples

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


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
NotesNot possible to find project's versions, just the current issue's version.




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 the name of the latest released  version.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourRed
titleneeds lookup

Label
UI Text Box
sizemedium
typeinfo

Variant where you additionally define projects.

Returned versions may either be released or unreleased. Arguments projects is a comma-separated list of project keys or project names.

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

Parameters used in this function

text
UI Expand
titleExamples
UI Expand
titleAdditional information
ParameterInput (data type)Description
xxx
Status
subtletrue
titledata type
Parameter description.
UI Expand
titleOutput
This function returns a
Status
subtletrue
title