This function returns a number list with the times when the current issue was transitioned from a given status to another given status, ordered by ascending transition time.

An empty string as an argument that is interpreted as any status.

Syntax
timesOfTransition(fromStatus, toStatus) #Output: Number list
Examples
Parser expressionDescription
dateToString(last(timesOfTransition("", "Done")), LOCAL, USER_LANG)

This example returns the most recent time of when the issue was resolved, based on the local time zone e.g.:

24.06.2020

To achieve this the following functions are used:

Additional information

Parameters used in this function

ParameterInput (data type)Description
fromStatus

TEXT

Text containing a valid status name.
toStatus

TEXT

Text containing a valid status name.
Output

This function returns a NUMBER LIST


Variant where you can additionally define a specific issue key.
Syntax
timesOfTransition(fromStatus, toStatus, issueKey) #Output: Number list
Examples
Parser expressionDescription
dateToString(first(timesofTransition("Closed", "", %{parent.key})))

This example returns the date of when the parent issue was reopened for the first time,e.g.:

24.06.2020

Additional information

Parameters used in this function

ParameterInput (data type)Description
fromStatus

TEXT

Text containing a valid status name.
toStatus

TEXT

Text containing a valid status name.
issueKey

TEXT

Text containing a valid issue key. Usually field codes are used.
Output

This function returns a NUMBER LIST


Use cases and examples