I would like for when i check the radio button with a value "Yes", and the other custom field to be mandatory. I did this as a behaviour in scriptrunner but it does not seem to work at creation.
Here is my code:
def customA= getFieldById("customfield_16191") // regular select custom field
def customB= getFieldById("customfield_14200") //radio button
//def customB_val= customB.getValue() as String
if (customB_vall == "Yes"){
customA.setRequired(true)
}
Would anyone have any idea what i'm doing wrong as i can't figure it out. Or perhaps this functionality is not possible on the create issue screen