How to always display the status of an issue in body content of notification e-mail?

Daisuke Niwa July 26, 2011

Hi there,

Is it possible to display the status of an issue in body content of notification e-mail from JIRA?

In my e-mail template I can see issue key number, URL, project and issue type, assignee and reporter as a part of summary. Is it possible to add the status of an issue here?

If so, I appreciate your advice as to how to realize this requirement.

Regards,

Daisuke Niwa

1 answer

1 accepted

1 vote
Answer accepted
Jaan Raamets July 26, 2011

For text e-mails you might try to add row

> $stringUtils.leftPad($i18n.getText("issue.field.status"), $padSize): $issue.getStatusObject().getNameTranslation($i18n)

to WEB-INF/classes/templates/email/text/includes/issuesummary.vm and restart JIRA. For html e-mails you probaly need to do something similar in email/html directory.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2011

Here is a useful link for more info.

Daisuke Niwa July 27, 2011

Thanks Jaan, your suggestion resolved the issue! Thank you Jobin too for giving useful link.

Suggest an answer

Log in or Sign up to answer