I have followed the instructions given in the following page and customized the e-mail content for issue creation notification of one one of the projects.
This worked. But my question is how to customize the email template for other events such as 'Issue Commented' and 'Issue Updated', making the customization only applicable for a given project/s?
You can customize the underlying event template, doing inline project checks that tweak or otherwise use other templates.
With this kind of change, your customization needs to be managed, whatever route is taken, you will end up with custom velocity templates that need to be migrated for potential compatibility changes over time.
Alternatively, JEMH, normally thought of for inbound mail processing, also has full support for customizing IssueEvent templates. These templates can then be picked in a per-project IssueEvent handler that takes over from JIRA doing its notification. JIRA Notification schemes still apply, its just not associated in the project, but in the IssueEvent handler project mapping. See https://javahollic.atlassian.net/wiki/pages/viewpage.action?pageId=2916411 for a run through.
There are other plugins offering similar edit features, though I dont know if they have import/export capabilities for migrating between environments as JEMH 1.3 has.
Yea, I was asked to move along by Oracle :) All documentation now lives at https://thepluginpeople.atlassian.net/wiki/display/JEMH
Template Sets How To : https://thepluginpeople.atlassian.net/wiki/pages/viewpage.action?pageId=2850840
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot