add "Product Type" or tag field to email notification

LarryH March 2, 2016

We have 2 issue product types and we want watchers to tell at a glance which product the defect is for.  Email notifications don't print our Product Type field in the message.  Instead of adding a tag to the Headline text, I'd like a tag or field printed with the email.

Is there a way to add a tag or field to the email notification from Jira?

2 answers

5 votes
Georges Moubarak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2016

Hi @Larry Herzlich,

Follow these steps to create a customized email notification:

  1. Create a copy a an existing notification file under each of the mentioned below directories.
    1. jira-installation-directory\atlassian-jira\WEB-INF\classes\templates\email\subject
    2. jira-installation-directory\atlassian-jira\WEB-INF\classes\templates\email\text
    3. jira-installation-directory\atlassian-jira\WEB-INF\classes\templates\email\html
  2. All files should have the exact same name.
  3. Do the necessary changes to the files.
  4. Update "email-template-id-mappings.xml" located under "ira-installation-directory\atlassian-jira\WEB-INF\classes" and add your template mapping section.
  5. Restart JIRA.
  6. Create a new event. ('gg'->events).
  7. Assign the new template to that event.
0 votes
Michael Partyka
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2016

It is easy if you will use Email this issue plugin.

If you don't want to buy it. You can always modify velocity files. It will be global for all project.

 

Suggest an answer

Log in or Sign up to answer