You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi,
I'm trying to exclude a label and found a solution, except that it excludes empty labels.
Does anyone know of a way to exclude one label from a query while keeping all other issues not in that label or empty?
(labels != yourLabel or labels is EMPTY)
consider just first part of this JQL as looking for issues with any label besides this specific, that's strange logic, but thats the only one I can find to explain this bahaviour
Hi Ilya,
Thank you for your answer.
I actually tried this option already and my problem is that most of my issues have an empty labels. I'm trying to exclude one label but include all issues with an empty label field or other labels.
With this option all issues with an empty label are excluded by default...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you either exclude issues with empty labels, or include them
there's no middle ground
you can limit amount of issues by applying additional constraints, like specifying project, or issuetype, or something else
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I guessed it wouldn't be possible to find a middle ground.
I'll try a workout by adding a label to all my issues with empty label and that should do the trick.
Thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So it seems that anything after OR in a filter resets the filter so you'll just need to add the Project name in again. For example. That's done the trick for me!
labels != YourLabelName OR Project = ProjectName AND Labels is EMPTY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pamela Keogh You can work around this by putting the labels part into parentheses. For instance:
Project = YourProject AND (labels != YourLabel OR labels is EMPTY)
This way the information before the OR is remembered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to work out a solution to exclude one (or more labels) but include all issues with an empty label or other label - you can put them in brackets:
e.g. project = TT AND (labels is EMPTY OR labels not in (label-one, label-two))
This shows all tickets except for anything labelled as 'label-one' or 'label-two'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.