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


releaseDates(versions) #Output: Number list



Parser expressionDescription


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


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



Parameters used in this function

ParameterInput (data type)Description
versions

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.



This function returns a  representing timestamps.




releaseDates(versions, projects) #Output: Number list



Parser expressionDescription


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



Parameters used in this function

ParameterInput (data type)Description
versions

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

Text containing valid project names or keys.



This function returns a  representing timestamps



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

issue.fixVersions.map(v=>v.releaseDate)

There's no workaround for the project keys' variant.






Status
Tech review

Style guide




Short description

Returns a number list with version release dates.

Output

Available since

Label