Hi, I'm currently trying to implement some validation in my Jira workflow to validate that on a transition a field value is checked against another field. Both these fields can be edited on the transition.
I've tried using the "Script Validator" to do this however with no success. my example validator script is something like this:
cfValues['Reapply Needed?'] == 'No' && cfValues['Repository'] != 'trunk'
however you have to link this to a field for the error to be displayed and it seems that when Jira runs this validation it runs it against the current (edited) value of the main field you have assigned it to but against the stored value of the other field.I actually need it to validate the two fields based on the their (unsaved) edited values in the screen when the user makes the transition.
Does anybody have any ideas on how I can do this?