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.


timesOfTransition(fromStatus, toStatus) #Output: Number list



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:



Parameters used in this function

ParameterInput (data type)Description
fromStatus

Text containing a valid status name.
toStatus

Text containing a valid status name.



This function returns a




Variant where you can additionally define a specific issue key.


timesOfTransition(fromStatus, toStatus, issueKey) #Output: Number list



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



Parameters used in this function

ParameterInput (data type)Description
fromStatus

Text containing a valid status name.
toStatus

Text containing a valid status name.
issueKey

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



This function returns a



Use cases and examples



Parser function cloud
Map(error)
NotesNot possible because that kind of information is not available.






Status
Tech review

Style guide




Short description

Returns the timestamps of when a certain transition was executed.

Output

Available since

Label