We are running JIRA 6.1.7 with Groovy script runner. I have placed a validator check (Script validator) that includes the following line (in the Create transtition):
cfValues['System'] is not empty || cfValues['Area'] is not empty
But this seems not to be the correct line as this makes it so that both fields need to be filled. What I want to happen is that the user can decide which field to fill, but at least one needs to be filled. The user can fill both as well if he/she wants.
What would be the code? Any assistance, my coding brain just doesnt want to compute 