Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

JETI's Field Picker drop down allows you to select system or custom field and get the snippet of Velocity markup needed to extract the value of the field. However it does not render the complete HTML structure that you may need to keep the correct layout of the HTML content in your email body.

...

If you develop a template based on JETI's or JIRAJira's default templates, you can use the below HTML markup to add your fields:

...

Note
titleAdd Rich Text (jEditor rendered) Field

 JEditor allows you to enter rich text content in custom fields. In order to render Rich Text fields in email in JIRA Jira 6.x and later versions, you must add this:

Code Block
#set ($fieldValueInHtml = $!jetiFieldRenderer.renderCustomField($issue, 'customfield_12345'))
$fieldValueInHtml

Using this technique, HTML content of the field value will not be escaped.

...


The complete body of the default mail template extended with a custom field should look as follows.

...