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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

702 views 1 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