currentUser() in Group Picker field JQL

Mathew Lederman
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.
July 9, 2024

Looking to find a way to find all issues where the currentUser() belongs to a Jira group selected in a group-picker field. 

For example: Issues where Assignment Group (group picker field) is set to Zoom-Admins and I belong to the group Zoom-Admins.

In DC we're doing this with the Go! JQL plug-in, but it seems the same functionality doesn't exist in the Cloud due to some API restrictions where we have to use the Extended Search. However, this is tied to our IT Service Desk using a JSM project and to utilize the Queues we are limited to JQL functionality. 

Any suggestions are appreciated.

1 answer

0 votes
Mark Higgins
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 31, 2024

Hi Matthew,

 

Does this help?

Current User Context and User Membership Queries: Personalized Issue Searches using Jira JQL

The “Current User” context can be used with specific fields/custom fields like Reporter, Assignee, Watcher, Voter, and Any User Picker custom field.

Example: assignee = currentUser()

To get the list of issues where a user is part of a specific group in Jira, use the function “membersOf(GroupName).”

Example: assignee in membersOf(“jira-administrators”)

 

Regards Mark

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events