Project role
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
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the user from the project role Developers, who had last been assigned the issue, e.g. admin.istrator |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid project role name. Multiple project roles can be specified in a comma-separated list of project role names. |
Output
This function returns a text
Issue key
Variant where you can additionally define a specific issue key.
lastAssigneeInRole(projectRole, issueKey) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
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 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid project role name. Multiple project roles can be specified in a comma-separated list of project role names. |
|
|
text |
Text containing a valid issue key. |
Output
This function returns a text
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
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|