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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I filter to exclude a label? (Trello)

I would like to filter my cards in a board to show everything that doesn't have a certain label. How do? I've tried -label:"red" and -label:"Urgent" and that syntax doesn't work.

9 answers

11 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 14, 2018

It's not possible to add a negative operator to filters, but the search feature does support that:

Is this a possible feature for the future? 

Like # people like this

We would like this feature as well.

Like # people like this

Would be great to has given feature, maybe filter by search query to reuse given logic. 

Like # people like this

I would like this as well - search for all cards that do not include one label. Seems like it would be a big help to many.

Like # people like this

> but the search feature does support that

Yeah, that would be why the question specified filter ;-)

Like # people like this

I really appreciate to have such a Feature to exclude labels in the filter option

Like # people like this

This is a feature I would use a lot as well.

Like # people like this

I would like to see this working in the filter as well.

Like # people like this

I'd like to do this so I can find all cards not done

Like # people like this

Yes that would be exactly  how I would use it as well. Show any card is is not marked Done for example.

This feature would be very helpful

Like # people like this

That would be quite useful indeed.

Like Lisa Roberts likes this

I also would need this!

Like Lisa Roberts likes this

upvote on that! :) filter out labels would be a great feature ;-)

Like Lisa Roberts likes this

Needs this too. Hope that helps ;)

Like Lisa Roberts likes this

We need this too. Has it been implemented yet?

Like Lisa Roberts likes this

Such an important feature... PLEASE add!

Like Biel likes this

Would love to have this as a feature too please

Like # people like this

100% need this feature. I'm kinda shocked it's not a thing yet.

Like # people like this

Logged in for first time to upvote. 

Like Lisa Roberts likes this

indeed an important, and I'd expect widely used, feature

Like Lisa Roberts likes this

Me too please. This would be very helpful. 

Like Lisa Roberts likes this

The search workaround suggested here isn't as useful as being able to see my normal view of the whole board but with certain cards excluded based on which labels they have. I'd really appreciate that view. Thanks.

Like # people like this

I agree. The search workaround is not very helpful. The search list disappears when I click on one item. The filter keeps in place once I open and close a card. This is what I need. 

Like # people like this

It is unfathomable that anyone could have left out this feature at the first place, let alone leaving it out for another 4 more year!

Like Lisa Roberts likes this

I so would like to have this feature too. My most used board has 26 labels. Searching and filtering NEED exclusions. 

@Mickie Shipley 
Any update on this, please?

It's almost been 4 years since this issue was raised. Is this on the roadmap? It is difficult to create our workflows without label exclusion.

It‘s a must have feature for me. Sorting by filter keeps the cards in its lists. And it works within the app.

I am in need of this feature too...

Add this feature please!!!

1 vote
Felix X
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Feb 19, 2023

Here's how I was able to do this using the browser's developer console:

Quick answer:

To hide all the cards with the stock pink label:

x = Array.from(document.querySelectorAll("a.list-card:has([data-color=pink])"));

x.forEach(x => {"none"});

Full procedure & details:

  1. While on the board, scroll so that the label you want to filter against is visible on a card.
  2. Open developer tools via F12, Ctrl+Shift+i, or the menu.
  3. Click 'Inspect' or Ctrl+Shift+c, then mouse over the label itself (not the whole card)
  4. Look at the HTML of the selected element, and the child elements - there should be a button element or similar with some fairly distinctive aria attributes, and if it's one of the stock labels, "data-color". Note one of these attributes. In my example, I note that the stock pink label (the one with hotkey 9).
  5. Go to the Console tab of developer tools, or show the console below the Elements view.
  6. Input the code in the block above.

Explanation of the querySelectorAll parameter:

":has()" is a "relational pseudo-class" CSS selector - see .

Cards in Trello are <a> elements, and they (usually? all?) have a CSS class= attribute including the class "list-card".

The visible label tags on cards are somewhere within the HTML of the card's <a> element.

So, this selector says, "give me all <a> elements that are cards, and which also have some sub-element with an attribute named data-color that has the value pink." Or, looking at it another way, "look at all the elements with the attribute data-color=pink, go up through the ancestors of each of them, then return any that happen to be cards".

Matthew Beadlecomb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Feb 22, 2023

This is a very simple work around for the time being. Thanks for posting!

I have found a bit of a workaround which will give you a list of cards that DO NOT have certain labels.

Its using the trello Dashcards powerup to count the cards that meet the "not that label" criteria. and in doing so provides a list of all the cards that comply, which you can export to CSV for further examination.

Its not a replacement for being able to filter the cards in place within the board, but at least gets you the card data you are looking for.

Dash card example.jpg

Lisa Roberts
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Dec 09, 2022

Thank you, unfortunately not allowed for my board.  Since it does not fully meet requested functionality I will not pursue requesting company to allow.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events