Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

query for issues by any member of a team

I created a couple of "teams" in Jira (standard).  I would like to be able to get a list of issues where any team member is the assigned person that issue.  I don't know how to query for any of the team members, or if that is even possible.

I have a query where assigned = a or assigned = b or assigned = x  

but would rather have one that goes more like assigned = anyteammember

or may be assigned in (team_name).  Is that possible?

2 answers

Hi @Scott Thurston 

If you mean "Teams" as in those you create via the People section, not that I know of. You can @mention teams but not search for them in JQL.

I'd consider using user groups - to do this you'll need to be a Site Admin, and then:

  1. Go to Jira Settings > User Management
  2. Select Groups from the left-hand menu
  3. Create a Group, give it a name (eg. Team-1) and add users to it

^ Once your users are in a group, you can search for all members as a group using JQL - for example:

assignee in membersOf("Team-1")

Ste

amaes I'm New Here Jan 10, 2022

Hello @Stephen Wright _Elabor8_ 

Is supporting this on the roadmap?

In larger organizations, team leads don't have admin privileges but can typically assemble teams using the People section.

It would make a ton of sense to be able to query the teams that are managed there, as opposed to filters that we have to maintain painstakingly at the moment like

assignee in (user1-id, user2-id, user3-id, etc.)

Exactly what feature did you use to create a "team" in JIRA?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

398 views 19 22
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you