The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Shirley He
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2022

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 6, 2022

HI @XIAOCHANG HE 

 

can you try with below query.

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

Shirley He
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 2022

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)

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events