I have a script in a scriptrunner validator to validate a value is populated when another value is selected. Here is the script:
issue.customfield_10177?.value == "Remote Location" ? issue.customfield_10178 != null : true
10177 is a check box
10178 is a text field
When I select that value and leave the text field blank, it is not giving a validation error. Is this because of the field type?