Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Does membersOf work with Teams? Edited

I created a team named "EPD Leads" and invited a few members of my organization to it. Then I created a filter with the following JQL query:

assignee in membersOf("EPD Leads")

 When I run the filter, I get

Function 'membersOf' can not generate a list of usernames for group 'EPD Leads'; the group does not exist.

I've also tried

  1. renaming the group "EPD-Leads" and changing the query
  2. renaming the group "epdleads" and changing the query
  3. using the team ID instead of the team name in the query

This question suggests that I'm doing this right.

2 answers

This seems like a duplicate of this question. The answers there indicate that membersOf doesn't work with Teams and that I need to instead ensure the Team field gets filled out for issues. But that doesn't work well for the case when a single person is a member of multiple teams and you want to see their work in each Team summary.

Hello @James A Rosen 

I have not tested this, but based on my research the membersOf function only works for User Groups; groups set up through User Management. I don't think membersOf is intended to work for Teams.

If your team membership is static you can instead filter using "assignee in (<explicit list of users>)". Or, you can duplicate the Team as a User Group and then use the membersOf function.

If you are trying to get a Team based summary and you have individuals who are members of multiple Teams, then you are going to have to ensure that the Team field is filled out and base your filter on that. If you have individuals who are members of multiple Teams and you filter based on the individual assignee, then that individual's work would show up multiple times, in the summary for each Team to which they belong. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

134 views 3 7
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