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
This question suggests that I'm doing this right.
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.
Seems to be working now! I just used this query and it worked:
project in ("ProjectA", "Information Technology", "Software Development", Facilities)
AND ("Team" = "Information Technology" OR assignee in membersOf("Information Technology"))
"Information Technology" is the name of a Managed Team
"Information Technology" is also the name of a group (the "membersOf" part).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Trevan Householder_Isos-Tech-Consulting_
That is not the same thing as having only a Team named "Information Technology" and being able to use membersOf() to determine if the person is a member of the Team.
You solution requires having to have an identically named group and having to manage keeping the group and Team membership synchronized.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please upvote this feature request:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.