Hi all,
this is my behavior and I don't know why dosent work:
def field1 = getFieldById("customField_20600")
def field2 = getFieldById("customField_10001")
def fieldValue = field2.value()
if( fieldValue == "my chooise"){
field1.setHidden(false)
} else {
field1.setHidden (true)
}
When in the issue I compile field2 with my choose, field1 remain in hide
thx in advance for your time
When do you run the script? Before or after changing the status? I suspect that your triggering the script before the workflow transition step. Put a screenshot here so we can give a look.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.