Hi
So i am trying to get the value of a custom field that stores the remaining time, here is my code
def estField = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Total Remaining Estimate")
def cFieldValue = (double) issues.getCustomFieldValue(estField)In my logs this is returning the following error
2018-06-07 17:45:02,439 Caesium-1-1 ERROR anonymous no estimate - send email [c.o.jira.groovy.GroovyService] Script service failed:
\Atlassian\scripts\IHNE.groovy
groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.getCustomFieldValue() is applicable for argument types: (com.atlassian.jira.issue.fields.ImmutableCustomField) values: [Total Remaining Estimate]
Hope someone is able to answer/resolve this issue for me as i am stumped.
Kindest regards and many thanks
Tyler