Hi All,
I want to send a customized email during the transition.
I was using following code for the same reason in JIRA v 6.3 and it was working properly.
<% out << (issue.getCustomFieldValue(componentManager.getCustomFieldManager().getCustomFieldObjectByName("Test Phase"))).toString() %> - <% out << (issue.getCustomFieldValue(componentManager.getCustomFieldManager().getCustomFieldObjectByName("Client"))).toString() %>
but when I try the same in JIRA 7.3.8 , Script Runner 5.0.11 it gives me following error when validating the code. Can someone help me to sort out this issue?
Error
No such property: componentManager for class: groovy.lang.Binding