Customizing e-mail content
We have already seen how JIRA throws various events when something happens and how we can handle these events to things ourselves. One such handling of these events includes sending e-mail notifications to users based on the notification schemes that are setup in JIRA. But what if we don't like the default content of JIRA notifications? What if we just want a different wording or maybe even amend the e-mail content?
In this recipe, we will see how we can customize the e-mail content that is sent as a notification when an event is thrown in JIRA.
How to do it...
JIRA has a set of e-mail templates written using velocity that is rendered when a notification is sent. For each event, a template is configured within JIRA and that template is used when the event is thrown. We can either create new templates and edit the events to use these new templates or modify the existing templates and leave the events as they are!
In both the cases, the steps are pretty much similar...