I'm struggling with a JQL query that will bring back issues with a specific label, even if there are other labels on the issue.
"project in (UKSCR, COMPRG) AND issuetype = Bug AND labels in (BAT)" and
"project in (UKSCR, COMPRG) AND issuetype = Bug AND labels = BAT"
don't work because they both bring back issues with ONLY the label "BAT". If the issue has "BAT" in addition to other labels it doesn't get returned.
It would help if there was an "includes" operator but there isn't. Any ideas?
Damn. Never mind folks. I forgot the number 1 rule of testing which is "don't believe what anyone tells you". I was given a link to a specific JIRA issue and was told that it should be in my list but wasn't. When I looked it had more than one label so I (incorrectly) assumed that that was the problem.
No, the problem is that it was a "Story" and not a "Bug". (headslap). Stand down. Soz.
It happens all the time :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
It's strange because here the opposite behaviour is reported:
Filter issues that have only one specific label and no other labels
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update: I've reproduced the situation in my environment and can confirm that search by labels works as described in the article above. The JQL:
project = ADM AND labels in (test1)
returns all the issues with the label 'test1' no matter how many other labels are there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It may be strange but it's true. I get 15 issues returned with the label "BAT" but not the three issues with "BAT" and "Delphi".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you sure you don't have two different labels which look alike? For example, one letter could be written in a different language or something. Please, make sure.
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.
It's above now and it's ok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ineed to find issues with a specific label but must not have a specific other label
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.