Hello -
I think this might be a problem with the cascadeOption function, specifically using that function with cascading select fields that have multiple field configurations, i.e., different sets of cascading values for different projects.
I have a custom field called "Resource Status" aka cf[12101]. It is a cascading select field. Some primary values are "Active" and "Inactive." One of the secondary values for "Active" is "Production." There are multiple configurations/contexts defined for this field for various projects.
This search works:
cf[12101] in cascadeOption(None)
These searches generate the error message in the subject line:
cf[12101] in cascadeOption(None,None)
cf[12101] in cascadeOption("Active",None)
cf[12101] in cascadeOption("Active","Test")
These searches fail even if I limit the query to a specific project.
I can successfully search for primary and secondary values using, e.g.:
cf[12101] = "Active"
cf[12101] = "Production"
But if I want to search for those issues that are specifically "Active - Production" I can't do it with cascadeOption().
Am I doing something wrong? Is there another way to search for specific Primary-Secondary value combinations?
Thanks
Lionel Cassin
Community moderators have prevented the ability to post new answers.
We also encountered this problem. We found it was due to the (cascade) custom field in question having empty contexts - deleting these cleared the errors.
I am also encountering this error. I also cannot figure it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got to solve the error. There where two configurations with the same option. One configuration has it disabled. I deleted this disabled option and everyting worked properly.
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.