Templates: Separate issue notifications and other events

Still need help?

The Atlassian Community is here for you.

Ask the community

This page is for separate issue notifications in Jira (batched issue updates are disabled)

If you’re using batched issue notifications, check out this guide: Batched issue notifications.

Not sure which notifications you’re using? Learn more about different notification types

The ZIP archive that you downloaded from Jira contains templates from all available configuration options. It’s easy to get lost in the files and their dependencies, especially since not all of them apply to your configuration. Use this page to understand the templates and the notifications they control.

tip/resting Created with Sketch.

Looking for examples of customizing email templates? Check out this guide: Examples: Customizing email content

Definitions

You’ll often find two definitions in this guide: templates and includes. Since all of them are Velocity templates, here’s the best way to understand them:

  • Templates: Basically, these are notifications that you’re getting on email. If you want to customize the looks of a specific notification, you should modify a template.

  • Includes: They aren’t used on their own and are always referenced in templates. If you want to customize the looks of an item reused in multiple templates (changing footers or headers), you should modify the include.

Some of the templates contain includes or content parsed from other templates. You might need to customize those files as well. Use the Includes and Parsed templates columns to check if a template has any content that you’ll need to adjust additionally.

Issue notifications

If you want to customize a notification that contains information about Jira issues (summary emails), you’ll need to adjust the files listed in the following table.

Directory: templates/email/html

Issue fields, which are referenced in the following templates, display data from specific fields. They are located in templates/email/html/fields.

Issue lifecycle

NameDescriptionIncludesPatternsFields
issuecreated.vm

Issue was created.

  • footer.vm
  • issue-title.vm
  • text-paragraph.vm

  • comment-action.vm

  • issuetype.vm

  • affectsversions.vm

  • assignee.vm

  • attachments.vm

  • components.vm

  • createddate.vm

  • duedate.vm

  • environment.vm

  • fixversions.vm

  • labels.vm

  • priority.vm

  • reporter.vm

  • securitylevel.vm

  • timetracking.vm

issuedeleted.vm

Issue was deleted.

  • footer.vm

  • issue-title.vm

-

issueassigned.vm

Issue was assigned to someone.

  • footer.vm
  • comment-top.vm

  • issue-title.vm

  • comment-action.vm

changelog.vm

issuresolved.vm

Issue was resolved.

  • footer.vm
  • comment-top.vm

  • issue-title.vm

  • comment-action.vm

changelog.vm

issueclosed.vm

Issue was closed.

  • footer.vm
  • comment-top.vm

  • issue-title.vm

  • comment-action.vm

changelog.vm

issuereopened.vm

Issue was reopened.

-

-

-

issueupdated.vm

Issue was updated.

  • footer.vm
  • changelog-issue-description.vm
  • comment-top.vm

  • issue-title.vm

  • comment-action.vm
  • changelog.vm
issuemoved.vm

Issue was moved to a different project, issue type, etc.

  • footer.vm
  • text-top.vm
  • issue-title.vm
  • comment-action.vm

-

issuegenericevent.vm

Issue generic event

  • changelog-issue-description.vm
  • footer.vm
  • comment-top.vm

  • issue-title.vm

  • comment-action.vm
  • changelog.vm

Issue collaboration

NameDescriptionIncludesPatternsFields
issuecommented.vm

Issue was commented on.

  • set-issue-details.context.vm
  • footer.vm

comment-title.vm

comment-action.vm

-

issuecommentedited.vm

Issue comment was edited.

  • set-issue-details-context.vm
  • footer.vm

comment-title.vm

comment-top.vm

comment-action.vm

-

issuementioned.vm

Someone mentioned you in an issue.

  • set-issue-details-context.vm
  • footer.vm

comment-title.vm

comment-top.vm

comment-action.vm

-

issuenotify.vm


  • footer.vm

comment-top.vm

issue-title.vm

comment-action.vm

changelog.vm

Issue archiving

NameDescriptionIncludesPatterns
issuearchived.vm

Issue was archived.

  • footer.vm
  • issue-title.vm
issuerestored.vm

Issue was restored from the archive.

  • footer.vm
  • issue-title.vm

Issue work logging

NameDescriptionIncludesPatternsFields
issueworklogdeleted.vm

Issue work log was deleted.

-



issueworklogged.vm

Work was logged in an issue.

-



issueworklogupdated.vm

Issue work log was updated.

-



issueworkstarted.vm

Work started on issue.

  • set-issue-details-context.vm
  • footer.vm
  • comment-top.vm
  • comment-action.vm
  • changelog.vm
issueworkstopped.vm

Work stopped.

  • set-issue-details-context.vm
  • footer.vm
  • comment-top.vm
  • comment-action.vm
  • changelog.vm

Other notifications

These notifications control other events like sharing filters or user management. Learn more about different notification types

Patterns

It’s unlikely that you’ll need to edit any of the pattern templates. They contain reusable components that are common for the Jira, like action buttons, titles, or text paragraphs. If you wanted to check them out anyway, you can find them in templates/email/html/patterns.

Share templates

If you want to customize a notification that’s sent when someone has shared an issue, search query, or filter with a user, you’ll need to adjust the files listed in the following table.

Directory: templates/email/html

NameDescriptionIncludesPatternsParsed templates
share-issue.vm

Someone is sharing an issue with you.

  • header.vm
  • footer.vm
  • involvedUsers.vm
  • comment-top.vm
  • issue-title.vm
  • mobileSingleColumnStyle.vm
share-jql-search.vm

Someone is sharing a JQL search with you.

  • header.vm
  • footer.vm
  • involvedUsers.vm
  • comment-top.vm
  • issue-title.vm
  • mobileSingleColumnStyle.vm
share-saved-search.vm

Someone is sharing a saved search (filter) with you.

  • footer.vm
  • involvedUsers.vm
  • comment-top.vm
  • issue-title.vm
  • mobileSingleColumnStyle.vm

Contact admin templates

If you want to customize a notification related to the admin-user communication, you’ll need to adjust the files listed in the following table.

Directory: templates/email/html

NameDescriptionIncludesPatterns 
contactadministrator.vm

Notification that Jira admin is getting after someone tries to contact them over the Contact Admin form.

  • header.vm
  • footer.vm
  • page-title.vm
  • text-paragraph.vm
emailfromadmin.vm

Emails sent to users directly from the Jira admin.

  • footer.vm
  • page-title.vm
  • text-paragraph.vm

User management templates

If you want to customize notifications sent after user account setup, password reset, and similar, you’ll need to adjust the files listed in the following table.

Directory: templates/email/html

NameDescriptionIncludesPatterns
usercreated.vm

New user was created. Notification for Jira admins.

  • header.vm
  • footer.vm
  • userdetails.vm
  • button-action.vm
  • page-title.vm
  • text-paragraph.vm
usercreated-nopassword.vm

New user was created in an external directory, and their password can’t be changed. Notification for Jira admins.

  • header.vm
  • footer.vm
  • userdetails.vm
  • page-title.vm
  • text-paragraph.vm
usersignup.vm

Notification users receive after signing up to Jira.

  • header.vm
  • footer.vm
  • userdetails.vm

-

forgotusername.vm

Notification users receive if they forget their usernames.

  • header.vm
  • footer.vm

-

forgotpassword.vm

Notification users receive if they forget their password.

  • header.vm
  • footer.vm
  • userdetails.vm


Includes

The following table shows the list of includes referenced in main templates. It doesn’t contain includes used in templates for issue notifications, those are referenced in the Issue notifications section.

Directory: templates/email/html/includes

View other includes
NameDescriptionFiles it's included in
emailconstants.vm

Fonts and colors of headers, headings, and links.

  • macros.vm
  • footer.vm
  • header.vm
footer.vm

Email footer.

Share templates:

  • share-issue.vm
  • share-jql-search.vm
  • share-saved-search.vm

Contact admin templates:

  • contactadministrator.vm
  • emailfromadmin.vm

User management templates:

  • usercreated.vm
  • usercreated-nopassword.vm
  • usersignup.vm
  • forgotusername.vm
  • forgotpassword.vm
header.vm

Email header.

Share templates:

  • share-issue.vm
  • share-jql-search.vm

Contact admin templates:

  • contactadministrator.vm

User management templates:

  • usercreated.vm
  • usercreated-nopassword.vm
  • usersignup.vm
  • forgotusername.vm
  • forgotpassword.vm
userdetails.vm

Details of a user: username, email address, display name.

User management templates:

  • usercreated.vm
  • usercreated-nopassword.vm
  • usersignup.vm
  • forgotpassword.vm
changelog-issue-description.vm

Shows the old and updated issue description.

Issue notifications templates: 

  • issueupdated.vm
  • issuegenericevent.vm



Last modified on Oct 13, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.