Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Are there Logical "OR" quick filters?

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

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.

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

Like Stine Søndergaard likes this

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

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.

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

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

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

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

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

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

This works for me. thanks for the workaround.

Good workaround.

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

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.

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.

0 votes

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.

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.

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,664 views 22 33
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