Issue in customizing the email content

lakshma reddy May 2, 2013

We have tried customizing the email content upon ticket creation with the help of information available in https://confluence.atlassian.com/display/JIRA/Customising+Email+Content

We have restarted the server to ensure the changes done to issuecreated.vm gets reflected.

But the custom field value is not reflecting in the email notifications triggered after creation of ticket.

Our version of jira is 4.4.3. Can you please let us know if we are missing on anything.

4 answers

0 votes
C_ Faysal
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.
May 2, 2013
0 votes
Chaithra N
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.
May 2, 2013

If you are trying to get customfield name then $customFieldManager.getCustomFieldObject("customfield_14332").name has to be used instead of $issue.getCustomField("customfield_14332").name

0 votes
Tibor Hegyi _META-INF_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 2, 2013
Can you please quote here the velocity snippet you added to the template? Jira restart will reload the template vm files.
0 votes
lakshma reddy May 2, 2013

Below is code snippet we have updated in issuecreated.vm

#if ($issue.getCustomFieldValue("customfield_14332"))


$stringUtils.leftPad($issue.getCustomField("customfield_14332").name, $padSize):

$issue.getCustomFieldValue("customfield_14332").toString()


#end

Suggest an answer

Log in or Sign up to answer