Forums

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

Return Issues Where Assignee is not a Member of a Group from single Group Picker Field

David Harkins
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.
March 8, 2022

We are looking for a way to search for issues where the Assignee is not a member of a Group where the group is nominated in a Single Group Picker customer Field.

i.e.

'Assignee' IS NOT IN 'Assignee Group'

 

1 answer

0 votes
Crystelle S
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.
March 14, 2022

Is Assignee group a group within Jira user groups?

The JQL function membersOf() is not working for you?

David Harkins
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.
August 26, 2022

membersOf() is not suitable in this case.

We have two fields:

  • Assignee
  • Assignee Group

We need to highlight the issues where the user in the Assignee field is not a member of the group in the Assignee Group field.

Would this be a case for a custom scripted field?

Crystelle S
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.
September 5, 2022

assignee is not in membersOf(<Jira group name>)?

Certainly if the assignee group is a random list of user ids then membersOf() doesn't work, this was why I asked if this was a jira 'group'.

David Harkins
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.
September 6, 2022

The Assignee Group is a Custom Field, which will contain a Group Name.

 

Using the group name specified in the 'Assignee Group' field, I want to ensure that the Assignee is a member of that group.

Suggest an answer

Log in or Sign up to answer