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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

799 views 2 19
Join discussion

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