Behaviour's setFormValue(null) fails after dynamically change JQL filter with setConfigParam('currentJql', "project=xxx") on Single Issue Picker field.
Steps to Reproduce
1. Create a "parent" Single Issue Picker field, for example named "Just Single Issue Picker". Note: Not necessary an issue picker, tried text field, same problem.
2. Create a "child" Single Issue Picker field, for example named "Another Single Issue Picker".
3. Attach following script to "parent":
Change order of execution still reproduce the problem.
Whenever "parent" field value changes, "child" Single Issue Picker field is cleared.
First change doesn't clear "child", second change clear "child".
Use FormField.setError() on "parent" and FormField.clearError() on "child" to notify user to change "child" value.
A screen recording to illustrate this bug and workaround: setFormValue fail.mov