Using method found on this forum:
CustomField cf1 = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Time to resolution");
Double cf1Value=null;
cf1Value=(Double)issues.getCustomFieldValue(cf1);
log.debug (cf1Value);
Getting this error:
No signature of method: java.util.ArrayList.getCustomFieldValue() is applicable for argument types: (com.atlassian.jira.issue.fields.ImmutableCustomField) values: [Time to resolution]
Any ideas?