Forums

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

How do you filter multiple labels in a board using AND (not or)?

Eran_Osishkin March 10, 2020

I'm using an agile board and have assigned labels to all issues.

But when I filter for multiple labels, it gives me all issues that have at least 1 of the selected labels instead of only issues with ALL of those labels.

Is there a way to filter for label AND label instead of label OR label?

Thanks!

1 answer

1 vote
Payne
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 Leaders.
March 10, 2020

This works; what are you trying?

labels = label1 and labels = label2

Eran_Osishkin March 10, 2020

I don't understand your answer.

I just click the "Labels" drop-down menu and I can select multiple labels, but the result is it gives me all the issues with either or those labels, not ALL of them.

Payne
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 Leaders.
March 11, 2020

It sounds like you're in "basic" mode, which will, as you note, "or" the statuses. Switch to JQL, and you'll see something like labels in (label1,label2). Change it to labels = label1 and labels = label2

Eran_Osishkin March 11, 2020

What is JQL and how do I switch to it?

I should point out that I'm very new to this.

Also, I can't seem to be able to delete an issue. How do I get to the project permissions settings?

Thanks!

Payne
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 Leaders.
March 11, 2020

JQL stands for Jira Query Language, and it's a SQL-like language that allows you to create more complex queries than is possible using the dropdowns. When you're configuring the filter for your board (or searching for issues in general), you should see Switch to JQL over on the right; you can then click Switch to Basic to switch back (unless the query is too complex to be represented in Basic mode).

jira.png

Suggest an answer

Log in or Sign up to answer