Forums

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

Quick Filter Challenge: Ignoring Certain Labels

Douglas Freese May 26, 2020

The Set Up:

  • I have labels as part of my JIRA tickets and they have hundreds of different values
  • I want to set up a Quick Filter on a Kanban board to only show tickets that have labels values outside of a set number of values I want to define

Example:

  • Ticket 1: labels has Apples, Pears, and 20 other values
  • Ticket 2: labels has Apples, Pears
  • I want to be able to set a Quick Filter to say 'show labels that have values, but ignore Apples and Pears'
  • If this was set, Only Ticket 1 would show because there are other fields besides Apples and Pears in there.

1 answer

0 votes
Craig May 26, 2020

Hi Douglas,

Please try to search Jira issues with labels of Apples and Pears just like your Ticket 2. And then go to the Advance Mode and change the JQL with "not" just like: 

labels not in (Apples, Pears).

 

If you want to show all the empty labels too, you could use:

labels is EMPTY or labels not in (Apples, Pears).

 

Hope it helps you.

Douglas Freese May 26, 2020

I'm not sure how to do this on a Kanban Quick Filter if I'm honest.  

The current filter for the tickets is already set and it doesn't include looking at the 'labels' field.  It's set to look for other values. 

So inside my Kanban, I have tickets like:

Ticket 1: labels = Pear

Ticket 2: labels = Apple, Orange

Ticket 3: labels = EMPTY

Ticket 4: lables = Orange, + 12 other words

So, how would the entry look inside the Quick Filter?

Craig May 26, 2020

change Ticket 2: labels = Apple, Orange 

to

Ticket 2: labels not in (Apples, Pears)

Douglas Freese May 26, 2020

Sorry, I meant I have these 4 types of values in the labels datafield:

  • Ticket 1 has Pear as a label
  • Ticket 2 has Apple, Orange as a label
  • Ticket 3 has an empty label
  • Ticket 4 has Pear, Orange, Pie, Pizza, Brick, etc as a label

So if I do a Quick Filter for labels not in (Apple, Pear), it would do the following:

  • Ticket 1 - Not shown
  • Ticket 2 - Not shown
  • Ticket 3 - Shown
  • Ticket 4 - Not shown

I need Ticket 2 and 4 to show and they currently won't.  I do not want Ticket 1 to show which it currently wouldn't.

Douglas Freese May 27, 2020

Hopefully that helped explain it better?

Suggest an answer

Log in or Sign up to answer