Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL function for groupInRole() or memberOfRole()

Alexey Gusev
Contributor
April 21, 2022

Hello everyone

I have a custom field: Group, field type: Group picker (single group)

And there is also a software developer project role, which includes certain groups.

How can I use JQL to select queries that are assigned to a group that is not a software developer in the project role?

1 answer

0 votes
Sena Demir _ALMBASE_
Atlassian Partner
March 8, 2023

Hello Alexey, 

I think the JQL below is what you are looking for. 

assignee in membersOfGroups("Group") AND assignee in usersHavingRoleInProject("Project Name" , "Developer")

assignee in membersOfGroups("") is a default Jira function and the second part of the JQL is provided by the GO! JQL app. 

Here is the documentation page about Project Roles: https://almbase.atlassian.net/wiki/spaces/MDOC/pages/4100555586/Project+Role+User+Property+JQL+functions 

 

I hope it helps. Let me know if you need any assistance. 

Suggest an answer

Log in or Sign up to answer