I have a custom field A (Select List) and I want to set the value of another custom field B based on the value of the custom field A.
I'm trying to use the post function 'Set Field Value to constant or Groovy expression' of the Script Runner plugin, but I'm having problems with the 'Conditional execution'.
The expression that I'm using is:
if (issue.get("customfield_11200").value == "[ADM]")
return true
else
return false
How can set the value of the field B based on field A?