Forums

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

JQL: show tickets if anyone from a group is in a multi-select field?

Javier Arce August 30, 2023

We have a "participants" field that can receive any person on the company, for example:

participants = John, Juan, Robert

We have a group that has people from a team, for example:

devs_team = Juan, Lucas

I want to create an JQL query that shows all tickets where any of the people of the group (Juan or Lucas) is on the participants field.

Using the basics option, it generates this code:

"Participants[User Picker (multiple users)]" in (membersOf("devs_team"))

but I was wondering if this is right, or if there is a simpler way to do it.

Thanks.

1 answer

1 accepted

1 vote
Answer accepted
Sayed Bares [ServiceRocket]
Community Champion
August 30, 2023

@Javier Arce Yes that is the correct way of doing it.

"Participants[User Picker (multiple users)]" in membersOf("devs_team")

Query should return all issues which has at least one devs_team as participant 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events