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.
https://answers.atlassian.com/questions/112648/add-custom-field-to-jira-e-mails/112653
check this one out...
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.