Want to customize the email templates to indicate the "role" of the person who receive the email.

Hi,

I receive email from our JIRA implementation each time an issue is created, updated...

This email can be sent to me because I can be the reporter, the assignee or I'm part the watchers or the voters.

I would like to customize the email templates so there is a sentence specifying why we receive this email.

Such as:

Reason to receive email: reporter

or

Reason to receive email: watcher

My goal is to compare email addresses.

I know how to get email for a reporter/assignee.

I don't know how to do it for watchers and voters.

I don't neither how to get email of the notifier (the person who will receive the email).

May you please help?

Cheers,

Sebastien

1 answer

0 votes

Hi Sebastien,

You will need to modify the velocity file. Please refer here for an example:

Customising Email Content

Hope this helps. Vicky.

Hi Vicky,

Would you know how to fetch the email adress of the mail recipient?
I'd like to compare it to the email adress of the watchers, the reporter and the assignee.

Sebastien

I found that one of the contexts pass to Velocity is recipient.

Can I the use $recipient.getEmailAddress()?

Cheers,

Seb

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

153 views 6 8
View post

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