Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,910
Community Members
 
Community Events
165
Community Groups

How do I create a JQL query to query the list of anomalies assigned to a specific team?

I am trying to make a JQL query to get a list of anomalies assigned to a specific team,

there are two type of team names on our train.  Currently the queries return nothing for those teams.  I know for fact these two example teams (purple and Red team) have anomalies assigned to them in Jira. What am I missing?

issuetype in (Anomaly) AND status NOT in (closed) AND team in (Purple)

issuetype in (Anomaly) AND status NOT in (closed) AND team in ('[LART]' RedTeam)

 

I modified the working query I had below for a custom label our teams created and replaced labels field with the team field, and Deferral_candidate_V35 label with team name.  It should work but didn't.

issuetype in (Anomaly) AND status NOT in (closed) AND labels IN (Deferral_Candidate_V35)

1 answer

HI @XIAOCHANG HE 

 

can you try with below query.

issuetype in (Anomaly) AND status NOT in (closed) AND assignee in membersOf("your group name")

thanks for the suggestion. I did get it working by using Jira ID for the team.  The JQL  query didnt like the team name.

This worked

issuetype in (Anomaly) AND status NOT in (closed) AND team in (TeamID#inJira)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

171 views 2 5
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