This project has a custom field "Country" which uses a pick list. Queries like "Country = France" worked fine. Suddenly today, "Country = France" returns an error message "The operator = is not supported" The only operators that work are IS and IS NOT empty. However, using the code (i assume it is some kind of unique field identifier) "cf[14002] = France" does work.
I'll add that a few months ago, we added another custom field "country" (note the lower case") that is a free text field. But even typing "country" (or 'Country') ~ France" returns the error message.
Any ideas what could have happened? Or what I check? (This is JIRA on the server.)
Thanks - Nancy
Hi @NancyB455,
you've analyzed your problem very good yourself. There's not much too add.
JQL does not treat field names case sensitive. This means if you have fields with the same name, Jira does not know to which field you are referring to. Please see also JRASERVER-59476 for a confirmation.
I'd recommend to either:
Cheers,
Matthias.
I really appreciate your response, and I intend to talk to an administrator about what problems would be caused by changing the name of the "lower case" country.
But...this WAS working! We added that other "country" at least a month ago. Any idea why it would work and then not work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not 100% clear on the DB structure, etc., but having two different objects with the same name can cause lots of strange issues, depending on the scenario. This is a perfect example of why custom fields should have unique names.
However, to @Matthias Gaiser _K15t_ 's point, as a rule, you should reference custom fields by ID, and not name to avoid issues.
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.