Hello,
I’m trying programmatically obtain value from Epic Colour customField, but I’m failing miserably
I’ve tried using:
Issue epic; //100% sure this issue is an Epic and has selected Epic Colour
CustomField cf_epicColour; //100% sure Epic Colour cf
epic.getCustomFieldValue(cf_epicColour); //Returns null
cf_epicColour.getValue(epic); //Also returns null
And nulls every time when I do so. (when at the same time, I can clearly see this values are set - either chcecking it via REST API or searching with visible Epic Colour column)
{
"expand":"renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id":"10001",
"self":"http://localhost:2990/jira/rest/api/2/issue/10001",
"key":"DEV-2",
"fields":{
"customfield_10004":"ghx-label-3"
}
}
Unfortunately I can not use REST APi call, that’s why I want to get this field value via CustomField class or any diffrent class avalaible (Atlassian JIRA - Server 7.13.1 API)
Does anyone has any ideas how to get this value?