Hi,
I would like to use the ScriptRunner Simple Scripted Validator to validate that ONE of three custom fields are set to 'Yes' before the transition can proceed. They are all Radio Button fields. Just to be clear, only ONE of the custom fields needs to be valid for the transition to proceed. Is this possible? I was trying to use || to accomplish this, but it seems all fields must be answered with 'Yes' using ||.
For example. . .
cfValues["Select 'Yes' if you are certain that you want to CANCEL ALL open reviews related to this review."]?.value == 'Yes' || cfValues["Select 'Yes' if you are certain that you want to CANCEL ALL open reviews related to this Level 2 review."]?.value == 'Yes' || cfValues["Select 'Yes' if you are certain that you want to CANCEL ALL open reviews related to this Level 3 review."]?.value == 'Yes'
Thanks!
I figured it out. Yes, those II allow this to work. Thanks!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.