I have some JIRA items with a label OnHold. Many other items have no label or a different label. I am trying to find the JIRAs that are in a certain status and do NOT have the OnHold label. Here is what I tried:
status in (open,reopened) and labels not in (OnHold). It accepts the syntax but returns NO records.
When I take out the not it successfully returns all the records that DO have the OnHold label.
Why does not in not successfully return the records that do NOT have the OnHold label?
What is the correct syntax?
Steve, I believe you could use something like:
That's because if you just put labels not in 'OnHold', it won't find issues that don't has any labels. Thus, you have to make sure to build the query stating that the label could be different from OnHold or equal to EMPTY.
Hope it helps.
Cheers,
Bruno Rosa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.