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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.