Object object = issue.getCustomFieldValue.getCustomFieldObject("customfield_10002");
customfield_10002
代表jira问题中的故事点。
我将如何获得JIRA中此自定义字段对象的值?
自定义字段对象和自定义字段值是不同的。这个示例将是工作。
import com.atlassian.jira.component.ComponentAccessor
Object storyPoints = issue.getCustomFieldValue(ComponentAccessor.getCustomFieldManager().getCustomFieldObject(10002))