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.
Thanks! I almost went mad.
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.
Nice! thanks @Juuso Ikonen !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was experiencing the same problem trying to exclude certain labels from my query. This was hugely helpful, the original post and all the comments in the thread. Thank you!
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.
Thanks so much! This is just was I was looking for :)
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.
Thanks Livia too :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works for me too. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this worked for me as well! Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! This worked well. Much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, this worked for me too!
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.