Forums

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

Hi All, how do I create a service queue filter query that must contain only two values in Labels?

Niël du Toit November 4, 2020

Here is my Query:

issuetype in ("Service Request with Approvals", Task) AND resolution = Unresolved AND component = "Application Management: ATnL Training Manual" AND labels must only contain the values “Dev” and “Data”

So how do I use the "=" Operator to only contain "Dev" AND "Data"?

Much appreciated if you could help.

 

2 answers

2 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
November 4, 2020

You can check if an issue has specific labels but you can't (OOTB) check if it ONLY contains specific labels. In your case I think this might work. Please LMK.

issuetype in ("Service Request with Approvals", Task) AND resolution = Unresolved AND component = "Application Management: ATnL Training Manual" AND labels = Dev AND labels = Data

Niël du Toit November 4, 2020

Thanks much! Worked.

Bheem Krishna
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!
March 17, 2023

Hi,  if I search with labels like labels=2022 and label !=noQA , it is returning tickets only which has labels but I want to list out tickets which do not have labels as well other 2 conditions given above.. how do I achieve this ?

sample query project=test and updated=> 2023-01-01 and Labels !=2022 and Labels !=noQA

Expectation:  I need list of all tickets updated greater than 2023-01-01  with noQA/2022 labels + tickets which does not have any label

1 vote
Answer accepted
Gökçe Gürsel {Appfire}
Atlassian Partner
November 4, 2020

Hi @Niël du Toit ,

I believe the query you're looking for is labels=Dev AND labels=Data

https://community.atlassian.com/t5/Jira-questions/Searching-for-multiple-labels/qaq-p/439015

Cheers,

Gökçe

Niël du Toit November 4, 2020

Thanks much! Worked a charm.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events