Adding a custom field to the automated jira generated email

I have followed the following link

https://confluence.atlassian.com/display/JIRA041/Adding+Custom+Fields+to+Email

for adding a custom field in the create issue and it works. However, the field doesn't appear in the automated jira generated email when you add a comment. Basically I want the field to appear on every automated jira generated email when I modify the issue.

Please help

1 answer

1 accepted

1 votes

You need to repeat the change in each email template that you want it to appear on. Make the same changes to the "comment" .vm as you've made in the "create" .vm

Hi Nic

I believe the summary of the commented email is pulling out from this line in issuecommented.vm

#parse("templates/email/text/includes/issuesummary.vm")


eg: I want the custom field "PRISM #: 445667890" to be in the body of the email

Key: CIN-34731

URL: https://jira/jira_datam/browse/CIN-34731

Project: Change Problem Management System

Issue Type: Minor - Grade 1

Reporter: Andrew Belford

Assignee: Andrew Belford

PRISM #: 445667890

instead of appearing anything in the body, if you know what I mean

This is part of the above documentation

In atlassian-jira/WEB-INF/classes/templates/email/text/includes/issuesummary.vm you will want:

However, it appears that it doesn't work. I was told that the documentation hasn't been updated which is the reason why I am asking around for help

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot