Different emails for reporters and watchers

Karen Tovmasian September 7, 2014

Hey everyone!

 

I need to make different templates for ones, who is reporter of issue, and for issue watchers.

There will be only one difference between this two notifications  - in the subject.

The watcher will receive notification "Issue-1234: launch prod. you're watching this issue".

I've found default templates in our JIRA installation, but i can't find how to edit the subject field.

 

Regards

2 answers

0 votes
Vera Henrichs
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.
September 7, 2014

Maybe you can try JETI (JIRA Email This Issue - https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue)
There you can make notifications and you can set the recipient. I'm still working with this add on but aleady very happy with it!

0 votes
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 7, 2014

Hi Karen,

The subjects of the different emails can be found in the following location:

<your JIRA installation directory>/atlassian-jira/WEB-INF/classes/templates/email/subject

Do keep in mind that for each event that's being thrown (for example: Issue created, Issue commented,...) you can only send out one type of email to everybody who needs to be notified.

So you cannot use 2 differents subjects based on the role the receiver of the email has.

You might be able to deduct the role using some vm and JIRA related coding (if then else maybe?) in the subject .vm file

Some more information can be found here: https://confluence.atlassian.com/display/JIRA/Customizing+Email+Content

Best regards,

Peter

Suggest an answer

Log in or Sign up to answer