You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to create a filter query that finds work assigned to members of a team across different projects.
It seems like I should be able to accomplish this by creating a team, adding the appropriate people to it, and then using a filter query like this:
assignee in membersOf("Team Name")
However Jira does not recognize "Team Name" as a group as expected by the membersOf() function, even though the Team exists with that name.
I have been able to get it to work using a string like this:
assignee in (member1,member2,member3...)
But this seems like it will be a headache to manage as people move on or off the team.
Any better way to accomplish this?
Thanks!
Hello @rwheeloc
Welcome to the community.
How did you define the Teams and their members? If it was the Team option under the People menu, that is not an entity that can be used in filters.
membersOf only works for User Groups. You would have to create your Team as a User Group.
Hi @rwheeloc,
Welcome to Atlassian Community!
The membersOf() function only works on groups, not the new Team feature that you find under People. So what you can do is create a new group and then your search with membersOf() should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a query something like:
memberof "Team[Team]"
using the shared team function in advanced roadmap/plans?
I want to look up assignee by Team[Team] and assign the team based on the assignee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sheri Widler Currently the answer is no, teams in advanced roadmaps is not available outside of advanced roadmaps. You should be able to do it once the new Atlassian Teams has been rolled out, you can learn more about it here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this feature request is what you are looking for:
[JRACLOUD-81400] Add support for membersOf JQL function for Teams - Create and track feature requests for Atlassian products.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Trudy and Mikael - looks like you were both right. I'd used the Team option under the People menu. I'd hoped there was a way to use the membersOf() function with a Team (since I do not have sufficient admin privileges to create a Group) but it sounds like that is not possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And even if you had permissions to create a Group, it would have the same problem you mentioned above, rwheeloc: The team changes month to month, and you'd have to keep updating the Group manually.
The only real solution is to expose the Team of each People.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, this would have been very helpful! Currently I'm struggling to even understand the point of the Teams feature in Jira, if you can't even use it for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To all who have commented on or are watching this thread, there are changes coming to the Teams functionality.
Check out this article:
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.