Are there Logical "OR" quick filters?

Don Swatman September 18, 2013

Quick filters are a really useful tool in Scrum and Agile boards, but I get confusion from my users. For example out issues go through several distinct periods, PM, Dev, QA, Done. I have quick filters for each of these, but the work as "AND" buttons. if I want to filter on Dev & QA, I have to create a new filter.

Is there a way to "OR" the filters, so I can click on two filters and get the "OR"ed result?

8 answers

1 accepted

4 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 18, 2013

No, the filters are deliberately set as AND, and they do try to show you that they are selected many times. I suspect that with a bit of code (possibly even just javascript), you could change the behaviour so that when you click one filter, it automatically deselects the rest (although you're then going to find people like me who need AND in there complaining)

Note, you've said OnDemand, so your only route is javascript, as you can't hack the core code.

Andrew Brown January 8, 2016

Is there a feature request ticket in JIRA that we can vote on and follow?

Like # people like this
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 8, 2016

Atlassian have pretty much said "no". See https://jira.atlassian.com/browse/GHS-8975

nikolajl January 13, 2017

I would love to be able to configure filters to be grouped mutually exclusive, like radio buttons. The UI should be displayed as a group of buttons, (e.g.: http://getbootstrap.com/components/#btn-groups )

You would define a group by adding a group (displayed as a drop area) in the quick filters option, and then dragging the filters into that group.

Deleted user September 14, 2018

The only use that is requested regarding this OR operation is people want to see certain issues plus anything else that is assigned to them. For example, the "me + unassigned", we made that into a single quick filter. But the frontenders like "my + label:styling", JS specialists "me + label:js", etc. We could of course make quick filters for that but the list is getting quite long. So if the "OR assigned to me" would be a separate option next to the quick filters that would be helpful

Like Jonas De Kegel likes this
kylemit November 7, 2018

Per Nick's suggestion to wrap in some custom JavaScript, if you have a tool like TaperMonkey that can run scripts on top of any site, then you can enable single selections by default by adding the following code:

$("body").on("mousedown", ".js-quickfilter-button", function (e) {
// if de-selecting, don't do anything
if ($(this).is(".ghx-active")) return;

// if holding down ctrl or shift, allow click
if (e.ctrlKey || e.shiftKey) return;

// otherwise, active click on any active elements to deselect them
$(".js-quickfilter-button.ghx-active").click();
});

 You can install the script from openusersjs.org or view it on GitHub

Like # people like this
Paul Klapperich May 8, 2019

It seems like whenever there's a feature we're interested in, Atlasssian either said "no" several years ago or is actively removing from the new version of the app. :-(

Like # people like this
Ruperto Montinola March 17, 2020

In the current version you can simply switch to "JQL" query then change AND to OR including parenthesis if necessary.

4 votes
Vitalii Samolyga April 19, 2017

I found a solution to the problem.
It is necessary to use inverse logic.
For example, you have three projects: P1, P2, P3.
And you want to display issues from these projects in different combinations.
You need to create three quick filters:

Name: Hide P1
JQL: project != "P1"

Name: Hide P2
JQL: project != "P2"

Name: Hide P3
JQL: project != "P3"

Now, by switching these filters, you can choose any variation of the project mapping:

P1 + P2 + P3
P1 + P2
P1 + P3
P2 + P3
P1
P2
P3

Anton Chelyshev April 19, 2017

Yep, I am finally using the same approach. But still it is not so clear for end users.

Rob Berube April 30, 2018

This works for me. thanks for the workaround.

Reece Daniels September 30, 2019

Good workaround.

You can then create a view / shortcut where all quick-filters are selected, and de-select from there as appropriate in meetings...

Kelsey Smith November 18, 2020

Using this. Glad I found it. Thanks!

1 vote
Anton Chelyshev December 5, 2014

One of the ways to display and/or filters might be to have panels: buttons within a single panel enforce OR conditions, and filters checked in different panels enforce AND conditions. That would be just perfect from my point of view and should be quite user friendly and clear.

0 votes
Prem Chudzinski _extensi_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
August 13, 2017

Migrate to server afterwards you'll be able to filter the board without any limitations using the Agile Board FIlter add-on

board filtering.png

 

Cheers

Przemyslaw

0 votes
Vitalii Samolyga April 19, 2017

Create a dashboard based on the filter "PM & Dev & QA & Done", and quick filters to exclude each one.

0 votes
Jonathan Schneider January 9, 2015

I am actually running into the exact problem. I have a need to display 1 OR many projects issues based off a label. When I select multiple projects, it uses the logical operator of "and" instead of "or" and immediately displays 0 results (since an issue can only be to 1 project). I understand the logic of "and", and agree it should still exist. Having the option to create "or" filters would be a huge help.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2014

Correct, you can't have it both ways, and AND is *far* more useful choice when you can't. It would be nice to be able to use OR instead, but you'd need a *very* clear way to display it.

0 votes
Chelsea M Hash November 5, 2014

I also would like this feature, but unlike the user below is implying it's not from confusion of users but rather a desired function to combine to filtered groups.

Suggest an answer

Log in or Sign up to answer