Issue Summary
If we have two Assets custom fields which depend on each other where customfieldA is selected by User and customfieldB should populate the field values based on the "Filter assign scope" and the "Make Filter Assign Strict" is checked, on an edit issue action if the customfieldA value is removed then the Strict Filter assign scope does not remove the customfieldB value(s) and we see an IQLValidationException in the logs.
Steps to Reproduce
Use the default data set or create an object Schema where objecttypeA can be selected by users and objecttypeB should be populated automatically.
- Configure two custom fields
- Affected Server (customfield_10304) as the parent CF which the users will select
- Affected Server Components (customfield_10305) as the child CF which is supposed to fill the values automatically based on the object chosen in Affected Server (customfield_10304). Populate the Filter assign scope and make sure to check the Make Filter Assign Strict option. (optionally: also check the Multiple option just to make this clear):


- Now create an issue and choose a value in parent custom field Affected Server (customfield_10304)
- This should trigger the Filter assign scope AQL and populate Affected Server Components (customfield_10305) with all objects that matches the Filter assign scope AQL
- Now clear the value in the parent custom field Affected Server (customfield_10304)
Expected Results
Since the Make Filter Assign Strict option is checked, upon the issue edit action of empty'ing the parent customfield,* it should also remove the values in the child custom field*.
Actual Results
- The child custom field is not cleared

- The below exception is thrown in the atlassian-jira.log file:
Workaround
Instead of using the custom field name in the Filter Assign Scope (AQL) AQL like:
Versions Tested
Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below:
Testing Requirements |
Version |
Affected Version |
Customers Reported Version |
5.12.12 |
Yes |
Most Recent Bug-Fix Release |
|
|
Previous Major Release |
|
|
Most Recent LTS |
|
|
Previous Supported LTS |
|
|
Other Versions.. |
|
|
(Add rows as needed) |
|
|