Adding custom fields to notification e-mails

One of the main features of JIRA is its capability to send notifications to selected people on selected events! It is often a requirement for JIRA users to customize these notifications, mainly to add more content in the form of custom fields.

If you understand velocity templates, adding custom fields to notification e-mails is a cakewalk, as we will see in this recipe.

Getting ready

You should know the custom field id that you need to add into the template. The id can be found in the URL that you see when you hover over the Edit operation on the custom field in the administration page.

How to do it...

Let us have a look at adding a custom field, X, into a notification e-mail when an issue is updated. The ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.