releaseDates()

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


Bash
releaseDates(versions) #Output: Number list


Examples

Parser expression

Description

Bash
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 

Bash
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

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

versions

text

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.

Output

This function returns a number list  representing timestamps.


Bash
releaseDates(versions, projects) #Output: Number list


Examples

Parser expression

Description

Bash
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 

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

versions

text

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

Text containing valid project names or keys.

Output

This function returns a number list  representing timestamps


📚 Use cases and examples