I've been mucking around with a Simple Scripted Validator (using ScriptRunner) for a while now. I clearly don't know what I'm doing. This is what I'm trying to do:
I have a Due Date Reason custom multi-line text field. I'd like it to be required only if the Due Date field has a selected value.
I'm using JIRA 7.3.1 and Adaptavist ScriptRunner 5.0.4.