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

Searching for multiple labels

Ted Habermann Aug 05, 2013
I have a very simple question but can not find the answer with multiple trys. I need to search in Jira for issues that have two labels A and B. The default seems to be A or B and I can not find a way to change the operator. I tried both A AND B, A and B and neither works...

6 answers

5 votes
labels = A AND labels = B

Ted Habermann Aug 05, 2013

Can this be specified in the search interface?

Ted Habermann Aug 08, 2013

I would like to make this search work in the Issue Navigator. Is that possible?

1 vote
Alex Perez Aug 05, 2013

or .. labels in (A, B)

Alex Perez Aug 05, 2013

xDDD

you're right!

that's an OR not an AND :-) That search would return all issues with either A or B as a label

satyam karn Aug 02, 2017

it will check if it is in both the label then only it will filter

labels
in (A) AND labels in (B)

0 votes
Ted Habermann Aug 05, 2013

I agree, that is an OR

0 votes
Lauro Pereira Dec 06, 2018 • edited

.

0 votes
melbtech@pronto.net Mar 18, 2019

None of the posted suggestions are correct. This multi value field (it's not a text field) seems to handle the search set intersections like an "OR" rather than "AND"

 

Will post here if I find anything helpful. I need to search where Labels have three set values, not one or two of the three. Probably end up doing a count of the labels containing certain characters... a wobbly solution.

 

Cheers,

Pete Q

melbtech@pronto.net Mar 18, 2019 • edited

Products like this add-on app give a clue about searches involving these type of fields. I'm not buying another add-on for our use case, or going complex with jump-through-hoops programming to hammer together a search routine. There are other fields that we can use to suit our scenario.

https://marketplace.atlassian.com/apps/1214233/wildcards-search-plugin-for-jira?hosting=server&tab=overview

0 votes
Michael Duckwitz I'm New Here Apr 15, 2019

I had the same problem filtering components.  This is how I solved it.  Unfortunately it doesn't work with the basic filter, I had to use advanced to edit the text itself.

I am able to filter issues that have both "Customer" and "FPGA" components by including this string:

"AND component = Customer AND component = FPGA"

I am able to filter issues with "Customer" and NOT "FPGA" by including this string:

"AND component = Customer AND component not in (FPGA)"

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

1,068 views 13 15
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