JQL searching assignee and reporter with many users

assignee in (user1,user2) or reporter in (user1,user2)

 

Is it possible to shorten the above? My issue is that I have a lot of users so just gives the following error. "Error occurred communicating with the server. Please reload the page and try again."

Would be nice only need one list of the same users.

2 answers

1 vote
Steven Behnke Community Champion Sep 11, 2015

As @Pilar noted, you should be using functional groups for this. Your query must be able to fit into an HTTP request so it's pretty clear you've gone over some size limit.

JIRA can query on groups using membersOf() JQL function which is a stock option built-in to JIRA.

assignee in membersOf("group-name")
reporter was in membersOf("group-name")

I dont think with JIRa, out of the box you can do this. But with JQL tricks plugin you can. 

assignee in membersOfGroups("my-special-group") 

See this link for more detials

http://www.j-tricks.com/jqlt-user-functions.html

Pilar

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,676 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you