This JQL function is used for searching for users with a certain role in a certain project.

usersWithRoleInProject(role, project_key) #Output: User list
Parser expressionDescription
assignee in usersWithRoleInProject("Developers", "CRM")
This example returns all issues whose Assignee belongs to the Developers role in the CRM project.
reporter in usersWithRoleInProject("Administrators", "PR")
This example returns all issues whose Reporter belongs to the Administrators role in the PR project.

Parameters used in this function

ParameterInput (data type)Description
role

A role that is available in the project.
project_key

A project key that exists in the system.

This function returns .

Short description

JQL function to search for users with a specific role in a specific project

Output

Label



Status
Tech review

Style guide