Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a custom field to the automated jira generated email

Wendy Hynes July 16, 2012

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
Answer accepted
Nic Brough -Adaptavist-
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.
July 16, 2012

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

Wendy Hynes July 17, 2012

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