Find issues where reporter has specific role

Russell Parkinson November 2, 2020

I need to find a way to run a search for issues reported by users with a specific, or more importantly, users who do NOT have a specific role. But I can't find a function to do this.

The "Reporter" Component only accepts the membersOf() and currentUser() funtions. These users are not members of any particular group, but do have specific roles.

 

I want to say something like

reporter not in "specific role"

1 answer

0 votes
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2020

The only way to do it is with the membersOf() function. The users should be a part of a particular group/s.  You need to clean up your role definitions. Each role should contain particular groups.

As a workaround you could write a plugin to create a new JQL function e.g membersOfRole(role, project).

Suggest an answer

Log in or Sign up to answer