Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns the names of the users who transitioned the current issue from a given status to another given status, ordered by ascending transition time.

An empty text as an argument is interpreted as any status.


Code Block
languagebash
titleSyntax
linenumberstrue
usersWhoTransitioned(fromStatus, toStatus) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
last(usersWhoTransitioned("Open", "In Progress"))


This example returns the name of the user who was the last to execute the transition "Start Progress", e.g.:

admin.istrator

To achieve this the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
fromStatus

Status
subtletrue
titletext

Text containing a valid status name.
toStatus

Status
subtletrue
titletext

Text containing a valid status name.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list




UI Text Box
sizemedium
typeinfo
Variant where you additionally define a specific issue key.


Code Block
languagebash
titleSyntax
linenumberstrue
usersWhoTransitioned(fromStatus, toStatus, issueKey) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
count(usersWhoTransitioned("Open", "In Progress", %{parent.key}))


This example returns the number of times the transition "Start Progress" has been executed in the parent issue, e.g.

4

To achieve this the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
fromStatus

Status
subtletrue
titletext

Text containing a valid status name.
toStatus

Status
subtletrue
titletext

Text containing a valid status name.
issueKey

Status
subtletrue
titletext

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_userswhotransitioned" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
NotesNot possible to get the user who transition an issue.




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns the names of the users who executed a certain transition.

Output

Status
subtletrue
titletext list

Available since

Status
subtletrue
colourBlue
title2.2.7

Label