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

JIRA Saved filter using Team field in JQL Edited

I don't know how to create Jira filter with team fields (not a group). 

something like example below which perfectly works for group:

If the filter condition is project = PROJECT AND reporter in membersOf("Group") 

 

I need to be able to see working hours spent for specific projects by one team

5 answers

Hi @Natalia Caban,

Please refer below url , you will get the clarification obout JQL

https://confluence.atlassian.com/jirasoftwareserver078/advanced-searching-947191078.html

https://confluence.atlassian.com/jiracore/blog/2015/07/search-jira-like-a-boss-with-jql

 

And try this below queries: 

Project = "XXXX"  AND Reporter in(venu, caban,etc) 

or   

project = ISSUE AND reporter in membersOf("Support Issue Group")

 

Regards,

Venugopal.

Hi, 
although I'm not looking for a solution for specific user neither for a group only for teams :) 

Like markoxenham likes this

Hi @Natalia Caban

The "Team" field is commonly used by different plugins like tempo, portfolio etc.

Thus, first you need to be sure that this field is  NOT a locked field but instead a field created by you with a list of team values. Secondly for a custom field to show values in basic search view you have to make sure that the "context" mapping for that custom field is available for all the issueTypes and Projects selected by the options before. Only then you will see the values. 

 

Regards, 

Venugopal

Hi @Natalia Caban , did you ever find a solution for this? I'm struggling with the same thing - I want to find assignee from my Team. Otherwise, why would I bother adding people to Team if I can't JQL on that?

I am in the same boat.  I can create a Team, but I cannot use that team for searching in JQL.  It would be very useful to be able to add a Quick Filter to a sprint board to quickly only show items that belong to that specific team.  Otherwise, the quick filter has to list all members of the team and causes extra overhead when members change teams.

try "Team[Team]" =

This is the answer.

As you enter the = JIRA shows a popup of all the teams, and once you select the nicely formatted name it gets replaced by an unguessable ID value.

 

Presumably this is because the ID won't change, but team names can, so it gets normalised at the point of creating the search interface, but it'd be lovely if this was somehow a little more intuitive for users.

This didn't work for me :(
I created the team, copied it's id, as made a search with "Team[Team]" = 123id456, didn't work, also tried with "Team[Team] = "My team name", also didn't work. What am I missing?

Like Tkachuk Vladyslav likes this

The same is for me. Any updates regarding this issue?

@Natalia Caban @Tkachuk Vladyslav & @Luiz Gonzaga dos Santos Filho 

This worked for me, once i added "Team[Team] =" and clicked the space, i was presented with a dropdown list of Shared Teams note it was only shared teams that appeared in the list

Something that tripped me up until recently is that there are Atlassian Teams and there are Jira Teams. The Atlassian Team is self organizing and helps provide visibility however they will not appear in the JQL Team[TEAM] field. That is the Jira Team that is managed in Plans (as part of Advanced Roadmaps?). Once I had that sorted out I created a Jira Team under Plans which allows my team to show up as an option using JQL. 

Where I am currently stuck is searching for issues where the assignee is in that team. When I search on that field I get no results. When I search for tickets assigned to the users in that team, I get the expected results. The Team field is a drop down field and I'm wondering if that needs to be added to the issues and then set?

@Kenyon Barnette an issue will need the "Teams" field added to its screen AND the team value will need to be selected within each issue you wish to be able to query. 

Like Kenyon Barnette likes this
0 votes

Hello,

From what plugin is the Team field?

If from the Tempo plugin then you could use a JQL like this:

assignee in team("Team Tango")

I suspect what @Natalia Caban is looking to be able to search with is the next-gen new feature called teams - https://confluence.atlassian.com/cloud/start-a-team-976161200.html

Searching using something like membersOf("Support Issue Group") does NOT work for this feature, neither does team("Team Tango")

Neither function works for this next-gen feature. 

The question is - how or can we search using these new team groupings?

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS

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