I tried to customize the Subject of the Email (Only when updating an Issue) by editing Velocity templates with reference to below link.
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
Are you sure the Issue Updated event is the one being fired? For example, if you are editing a field in a transition, it could be firing a different event and using a different template.
If you want to customize this via the UI, this kind of thing is supported in Notification Assistant for Jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.