Hi, I am trying to get a custom field to appear in our plain text emails. The field properly appears in the email for the Create issue action which I know uses:
\atlassian-jira\WEB-INF\classes\templates\email\text\issuecreated.vm
However, for emails for other events, such as Comments or Resolved, the custom field doesn't appear, and I know it has a value in the issue. I know the template used in this case is:
\atlassian-jira\WEB-INF\classes\templates\email\text\includes\issuesummary.vm
And this is my code added:
#if ($issue.getCustomFieldValue("customfield_10661"))
>$stringUtils.leftPad($issue.getCustomField("customfield_10661").name, $padSize): $issue.getCustomFieldValue("customfield_10661")
#end
Why doesn't the custom field get displayed here?