This function returns the name of the user in a given project role (in the current issue's project) with the lowest number of unresolved issues.
An empty text ""
will be returned if there is no user in the project role.
Multiple project roles can be specified in a comma-separated list of project role names, returning the least busy users among the project roles.
leastBusyUserInRole(projectRole) #Output: Text
Variant where you can additionally define a specific project key.
leastBusyUserInRole(projectRole, projectKey) #Output: Text
Variant where you can additionally define a specific JQL query to limit the scope of unresolved issues.
leastBusyUserInRole(projectRole, projectKey, jqlQuery) #Output: Text
This function is useful if you want to automatically assign issues to the least busy user using a post function or automation rule, e.g.:
Use cases and examples
Use case |
---|
No content found. |