问题
I have a label set for some of my issues. When searching labels="ab" I get the relevant ones, but I cannot seem to find the right syntax for asking labels!="ab". How can I query for the ones not equal to ab?
回答1:
!= works for me although it only shows issues that have labels If I want to show all issues that do not have a certain label I have to do
(labels is EMPTY OR labels != 'mylabel')
This behaviour is currently intended by the Jira-Team. A suggestion to change it has been posted in the Developer-Jira and can be voted for.
回答2:
labels != 'ab'
Will display all issues with labels that differ from 'ab', but not empty labels.
to show those with empty labels too:
labels != 'ab' OR labels is empty
来源:https://stackoverflow.com/questions/11411367/searching-jira-for-label