I tried to customize the Subject of the Email (Only when updating an Issue) by editing Velocity templates with reference to below link.
Customize Email content
I need to pull the value of a custom field into the Email subject. Added the custom ID to the issueupdated.vm file and restarted Jira. But it didn't work. Custom filed value is not added to the email subject. Below is the template path and content of issueupdated.vm file.
Template path: /atlassian-jira/WEB-INF/classes/templates/email/subject
Issueupdated file content:
cat issueupdated.vm
#disable_html_escaping()
(${customFields.get('customfield_14702').getValue()) ($issue.key) $issue.summary
Please anyone help me with this or suggest any workaround.
Thanks,
Divya G