Current issue
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
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
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
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid status name. |
|
|
text |
Text containing a valid status name. |
Output
This function returns a number list
Issue key
Variant where you can additionally define a specific issue key.
timesOfTransition(fromStatus, toStatus, issueKey) #Output: Number list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
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
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid status name. |
|
|
text |
Text containing a valid status name. |
|
|
text |
Text containing a valid issue key. Usually field codes are used. |
Output
This function returns a number list
📚 Use cases and examples
| Use case | Field type | Parser functions |
|---|---|---|
| Number of times a resolved issue has been rejected |