diff --git a/pom.xml b/pom.xml index 74a61f39..84d08fb5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 ru.mail.jira.plugins groovy - 1.21.16-jira8 + 1.21.17-jira8 AtlasTeam https://atlasteam.ru/ diff --git a/src/main/java/ru/mail/jira/plugins/groovy/impl/cf/TemplateScriptedCFType.java b/src/main/java/ru/mail/jira/plugins/groovy/impl/cf/TemplateScriptedCFType.java index b79c8b49..3d748851 100644 --- a/src/main/java/ru/mail/jira/plugins/groovy/impl/cf/TemplateScriptedCFType.java +++ b/src/main/java/ru/mail/jira/plugins/groovy/impl/cf/TemplateScriptedCFType.java @@ -15,6 +15,7 @@ import ru.mail.jira.plugins.groovy.util.CustomFieldHelper; import javax.annotation.Nullable; +import java.util.HashMap; import java.util.Map; @Scanned @@ -60,7 +61,7 @@ public JsonType getJsonSchema(CustomField customField) { } @Override - public FieldJsonRepresentation getJsonFromIssue(CustomField customField, Issue issue, boolean b, @Nullable FieldLayoutItem fieldLayoutItem) { - return new FieldJsonRepresentation(new JsonData(null)); + public FieldJsonRepresentation getJsonFromIssue(CustomField field, Issue issue, boolean b, @Nullable FieldLayoutItem fieldLayoutItem) { + return new FieldJsonRepresentation(new JsonData(field.getColumnViewHtml(fieldLayoutItem, new HashMap<>(), issue))); } }