-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 4.0 - Beta 2
-
Component/s: JQL
-
4
Try the following invalid query "imAFieldThatDoesNotExist in cascadeoption(p1, p2)". The error message returned will be "The field 'imAFieldThatDoesNotExist' is not supported by the function 'cascadeOption'".
I would expect the error message to be more like "Field 'imAFieldThatDoesNotExist' does not exist." which is what you get when you run "imAFieldThatDoesNotExist in (1,2)".
It appears that the function validation is happening before we even check if the field is even valid.