Issue in customizing the email content

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

This widget could not be displayed.

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

This widget could not be displayed.
Can you please quote here the velocity snippet you added to the template? Jira restart will reload the template vm files.
This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 8 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

22 views 0 0
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