How to do it...

The first step is to create our custom email templates. All mail templates are stored in the JIRA_INSTALL/atlassian-jira/WEB-INF/classes/templates/email directory, and generally, for each event in Jira, there are three template files:

  • The subject template: This is the template file for the email's subject line, which is stored in the subject subdirectory.
  • The text template: This is the template file for emails sent in text format, which is stored in the text subdirectory.
  • The HTML template: This is the template file for emails sent in HTML format, which is stored in the html subdirectory.

To start creating our own email templates, we first need to create the three files mentioned in the previous list of template files and ...

Get Jira 8 Administration Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.