This function returns the user name of the last user who had the current issue assigned, and who is in a given project role within the current issue's project.

Null will be returned if the current issue was never assigned to a user in the project role.


lastAssigneeInRole(projectRole) #Output: Text



Parser expressionDescription


lastAssigneeInRole("Developers")


This example returns the user from the project role Developers, who had last been assigned the issue, e.g.

admin.istrator



Parameters used in this function

ParameterInput (data type)Description
projectRole

Text containing a valid project role name. Multiple project roles can be specified in a comma-separated list of project role names.



This function returns a



Variant where you can additionally define a specific issue key.


lastAssigneeInRole(projectRole, issueKey) #Output: Text



Parser expressionDescription


lastAssigneeInRole("Developers", "CRM-1")


This example returns the user among all users of the Developers project role who was the last assignee of the issue CRM-1, e.g.:

admin.istrator




Parameters used in this function

ParameterInput (data type)Description
projectRole

Text containing a valid project role name. Multiple project roles can be specified in a comma-separated list of project role names.
issueKey

Text containing a valid issue key.



This function returns a


This function is useful if you want to automatically assign issues to the last user who was actively working on an issue e.g. before the issue was re-assigned for testing:



Use cases and examples



Parser function cloud
Map(error)
NotesNot possible to access the historic values of the Assignee field.






Status
Tech review

Style guide




Short description

Returns the user name of the last assignee in a given project role.

Output

Available since

Label