How to customize the email notification subject

Hi,

Consider a case where email notification sent when Production issue is logged and email notification sent. In this case we would like to have the KEY word which can differentiate stake holders from normal issue to production issue.

For ex: when production issue logged subject will have [Production Issue]:abcdefghijklmnopqrstuvwxyz , the key Production issue should not appear for other issue type notifications.

Please advice us how we can configure this.

Thanks,
Jagadeesh

3 answers

You can do this on a locally installed version of Jira but, as far as I know, you can't do this in "onDemand".

If you migrate to a local instance, you would modify the local templates in this directory

JIRA_INSTALL\atlassian-jira\WEB-INF\classes\templates\email\subject

Since the templates are used for every issue type/project, you would need to put in some logic

#if ($issue.issueType.name == "Production Issue")
[Production Issue]: ($issue.key) $issue.summary 
#else
($issue.key) $issue.summary 
#end

I'm sorry! you have answered my question in first statement it self. Thanks.

Thanks Mathew. Do you think this change is supported on OnDemand version

Adding to that, I think you could have a look at the Restricted Functions in OnDemand including "Customising email content" and watch the feature requests.

And if you dont want to keep restarting your JIRA all the time for template updates, you could, if installed locally, use JEMH Template customization which can be done live.

We've developed a plugin for cloud where you can specify your own custom E-Mail Subject and body for each individual Messenger. And the messengers can be either for one email or for list of users. Check out Jirassimo Emails & Notifications https://marketplace.atlassian.com/plugins/net.vacom.jirassimo

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

126 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you