I'm trying to write to use JQL to search a bunch of different labels but I'm not sure if we have anything with those labels. I tried the IN(label1, label2) but if label1 doesn't exist I get an error.
So I though of using a wildcard but that doesn't work either. Do I really need to know exactly what labels I want and be sure they exist to use JQL?
What version of JIRA are you using, and what is the error?
I seem to remember that happening on a very old version of JIRA, but more recent ones tolerate non-existent labels, they just ignore them like Semi says.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, sorry, Semi and I were talking about the advanced search option.
The simple search will give you an error because your label data is incomplete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i wanted to write a JSQL query which i believe it's what you call advance search?
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.
Ah, right, that's not a label, it's a version.
Same applies though - you need to feed it a set of values that exist.
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.
Hello Marco,
normally by using labels in(label1, label2) and label1 doesnt exist you get the result for label2.
An error is not a normal behavior of JIRA.
/Br
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.