Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Email templates have always been at the core of JETI. The ability to customize email templates and use different templates per project and/or issue type was part of 1.0 version.

Version 5.1 has made the development of custom email templates easier than ever by introducing the built-in template editor feature. Using the template editor, you can easily add new templates, tailor them to your needs, test and publish them for use.

Add New Templates

Start from the Templates tab of the configuration page.

Templates are created from a base Jira template or a theme so that they are preloaded with content and the default look and layout.

Template Themes are a new concept in Email This Issue. Templates based on themes are more powerful and 

  • can be edited using the build-in Rich Text Editor or directly as HTML
  • can be fully customized as their layout and look-and-feel is not wrapped in Jira Velocity Macros
  • dedicated Themes are available for Service Desk Customer Notifications

Email Template Themes

Themes are templates for the Email Templates. Creating a template from a Theme has a few advantages:

  • Themes are based on Email This Issue's macro library
  • Templates made of Themes can be edited in the Rich Text Template Editor
  • Templates made of Themes are better tailored for Service Desk 

The following Themes are available in Email This Issue:

All DetailsRenders all issue fields including all custom fields defined for the issue and all issue comments
Issue CommentedPrepared for Issue Commented notifications
Issue ModifiedPrepared for Issue Updated notifications, renders the changelog and comment entered
Work LoggedPrepared for Worklog related notifications, renders the workflog and comment
Service Desk Customer InvitationPrepared for Service desk, when customers are created automatically by Email This Issue
Service Desk Auto AcknowledgePrepared for Service desk to send auto response emails
Service Desk Request Participant AddedPrepared for Service desk, when participants are adde to a request
Service Desk Request CreatedPrepared for Service desk customer notifications, when requests are created
Service Desk Request UpdatedPrepared for Service desk customer notifications, when requests are modifed
Service Desk Request ResolvedPrepared for Service desk customer notifications, when requests are resolved
Service Desk Request ReopenedPrepared for Service desk customer notifications, when requests are reopened
Service Desk Request CommentedPrepared for Service desk customer notifications, when requests are commented with a public comment
EmptyGeneral purpose minimal template
Issue ListPrepared to send issue lists in a single email from the Issue Navigator.

Edit Templates

 Templates have five major attributes:

  • name (mandatory)
  • description (optional)
  • category
  • subject template
  • HTML body template
  • Text body template


The subject and body templates are developed using Velocity Macro syntax and HTML tags. They may include values of issue fields and custom fields.

Rich Text Editor

Email templates based on Themes may be edited using the build-in Rich Text Editor. The Rich Text Editors comes with

  • a WYSIWYG front end making basic formatting, tables etc easy to add, and with features like 
  • full screen editing, 
  • preview and 
  • HTML Source editing.

Field Picker

To add fields to your subject or mail body templates, you can use the "Field Picker" control. Pick a field from the list then copy and paste the velocity code to the template to have the value of the field rendered in the email. You can add issue or custom fields directly to the template using $customFieldManager and $issue in the Velocity Context. The Field Picker just makes this a lot easier.

The "Field Picker" drop down contains:

  • Email Fields: mail body the user enters and mail subject the user enters manually
  • Issue Fields: all standard issue attributes
  • Custom Fields: all custom fields

Test Templates

Once you developed your template, it is wise to test it before you start to use it in you projects. Select the "Test" operation from the template list (see first screenshot above).

Enter the key of the issue you want to test the template with. Enter some subject text and mail body then click Send or Preview. Either an email will be sent to your email address or a Preview Dialog is shown.

Use Templates

Once the templates are complete, they are available to be used for sending emails in various ways:

Email Tricks

Enhance your template with complex content, email signature etc. 

  • No labels