You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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

Syntax
usersWithRoleInProject(role, project_key) #Output: User list
Examples
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.
Additional information

Parameters used in this function

ParameterInput (data type)Description
role

TEXT

A role that is available in the project.
project_key

TEXT

A project key that exists in the system.

Output

This function returns USER LIST.