I'm currently running on JIRA 6.3.1 and 3.0.16 of ScriptRunner and seeing a weird behaviour.
I'm trying to detect which field changed with the below code.
def cusField = getFieldById(getFieldChanged())
log.debug("Form field object returned is: " + cusField)
def newValue = cusField.getValue()
log.debug("Form field object returned is: " + cusField)
I then go and make a change in a customfield but when I look at the logs for the debug output I see it saying another field changed.
Any ideas what can be going on?
Thanks in advance.