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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 11 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

34 views 0 5
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