Versions Compared

Key

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


Page properties
hiddentrue
Status
Tech review

Status
titletodo

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 transitioned current issue from origin_status to destination_status, order ascending by time.

Output Statussubtletruetitletext listAvailable since

Status
subtletrue
colourBlue
title2.2.7

UI Text Box
sizemedium
typeinfo

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

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


Code Block
languagebash
titleSyntax
linenumberstrue
usersWhoTransitioned(text origin_statusfromStatus, text destination_statustoStatus) #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

executed

was the last to execute the transition "Start Progress"

more recently.

, 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
xxxfromStatus

Status
subtletrue
titledata typetext

Text containing a valid status nameParameter description.
xxxtoStatus

Status
subtletrue
titledata typetext

Text containing a valid status nameParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list




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


Code Block
languagebash
titleSyntax
linenumberstrue
usersWhoTransitioned(text origin_statusfromStatus, text destination_statustoStatus, text issue_keyissueKey) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
count(usersWhoTransitioned("Open", "In Progress", %{00041parent.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
xxxfromStatus

Status
subtletrue
titledata typetext

Text containing a valid status nameParameter description.
xxxtoStatus

Status
subtletrue
titledata typetext

Text containing a valid status nameParameter description.
xxxissueKey

Status
subtletrue
titledata typetext

Text containing a valid issue key. Usually field codes are usedParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Image AddedUse 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