Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns a number list with the release dates for all versions in the current issue.


Code Block
languagebash
titleSyntax
linenumberstrue
releaseDates(versions) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
releaseDates(%{issue.fixVersions}) 


This example returns a number list representing the list of release dates timestamps for all Fix Version/s in the current issue, e.g.

1.59174E12

To convert the timestamp to a text please have a look at Numbers, dates and times


Code Block
languagebash
linenumberstrue
dateTimeToString(first(releaseDates(%{issue.fixVersion})),SERVER_LOCAL,USER_LANG)


This example returns the release date in text form. Since multiple values might be found we use the function first() to take the first element of the number list.

Additionally the following functions are used



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
versions

Status
subtletrue
titletext

Text list with valid version names. Multiple versions can be added as a comma-separated list of version names Usually this value is retrieved from a field code.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list
 representing timestamps.




Code Block
languagebash
titleSyntax
linenumberstrue
releaseDates(versions, projects) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
releaseDates(%{issue.versions}, "CRM")


This example returns a number list representing the list of release dates for affected versions for the project with key "CRM".

To convert the timestamp to a text please have a look at Numbers, dates and times



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
versions

Status
subtletrue
titletext

Text list with valid version names. Multiple versions can be added as a comma-separated list of version names Usually this value is retrieved from a field code.
projects

Status
subtletrue
titletext

Text containing valid project names or keys.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list
 representing timestamps



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_releasedate" 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 a number list with version release dates.

Output

Status
subtletrue
titlenumber list

Available since

Status
subtletrue
colourBlue
title2.2.38

Label