Hi,
in this answer, it is shown how to include the content of a custom field in the custom email template of the scriptrunner post function. So in the custom email template I'm now using
<% out << issue.getCustomFieldValue(com.atlassian.jira.component.ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("MyField")) %>However, MyField is a custom field that uses a wiki style renderer and in the e-mail (which is send as HTML), it just displays the text of the field without any formatting and without any linebreaks.
Is there a way to nicely format a the text from the custom field in the e-mail?
Cheers, Thomas