Jira 自定义级联选择未在视图中显示问题

Jira 自定义级联选择未在视图中显示问题,jira,jira-plugin,Jira,Jira Plugin,我开发了一个从CascadingSelectCFType继承的自定义字段。 两个选择列表中的字段,实际上正确显示了所有正确的选项,并且我能够保存问题。但是,当我查看问题时,字段不会显示,并且在“我的字段在哪里?”?菜单显示:“项目”字段没有问题INC-2的值,不会显示在查看问题页面上。设置该字段的值,使其显示。 有人知道为什么不保存该值吗? 这是我的密码: @Override public Map<String, Object> getVelocityParameters(Issue

我开发了一个从CascadingSelectCFType继承的自定义字段。 两个选择列表中的字段,实际上正确显示了所有正确的选项,并且我能够保存问题。但是,当我查看问题时,字段不会显示,并且在“我的字段在哪里?”?菜单显示:“项目”字段没有问题INC-2的值,不会显示在查看问题页面上。设置该字段的值,使其显示。 有人知道为什么不保存该值吗? 这是我的密码:

@Override
public Map<String, Object> getVelocityParameters(Issue issue, CustomField customField, FieldLayoutItem fieldLayoutItem )
{
    Map<String, Object> result = super.getVelocityParameters( issue, customField, fieldLayoutItem );
    FieldConfig fieldConfig = customField.getRelevantConfig(issue);
    optionsManager.removeCustomFieldOptions(customField);
    String[][] items = getItemsFromDatabase();
    Option option = optionsManager.createOption(fieldConfig, null, new Long(0), "parent1");
    createOptions(fieldConfig, option.getOptionId(), items[0]);
    option = optionsManager.createOption(fieldConfig, null, new Long(1), "parent2");
    createOptions(fieldConfig, option.getOptionId(), items[1]);
    return result;
}
提前谢谢