Searching Jira for label !=

放肆的年华 提交于 2019-12-03 05:36:13

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!