Hi,
I wanted to make the number field mandatory, only if radio button is selected while creating any issue. I am using JIRA 7.3.x
Could anyone help me with the groovy script for above requirement ASAP ?
Suppose in Bucket Action, if Delivery Conflict is selected the AUSL_Number field should be mandatory.
Regards,
Dileep Kumar
Hi Dileep,
You can try something like this in the behaviours,
def bucketAction = getFieldByName("Bucket Action")
def numberField = getFieldByName("AUSL_Number") if(bucketAction.getValue().equals("Devivery Conflict")){ numberField.setRequired(true) }
-Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.