startDates()

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


Bash
startDates(versions) #Output: Number list


Examples

Parser expression

Description

Bash
startDates(%{issue.fixVersions}) 


This example returns a number list representing the list of start 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 Dates, times and time zones

Bash
dateTimeToString(first(startDates(%{issue.fixVersion})),SERVER_LOCAL,USER_LANG)

This example returns the start 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
startDates(versions, projects) #Output: Number list


Examples

Parser expression

Description

Bash
startDates(%{issue.versions}, "CRM")

This example returns a number list representing the list of start 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