Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,965
Community Members
 
Community Events
168
Community Groups

How to include User that triggered an event in email subject

I would like to include the User that modified/updated or somehow triggered an event that leads to an email notification to be included in the emails subject.

I know that i need to edit the templates either in the installation directory or those included in the batcher application.

But what variable do i need to use.

1 answer

1 vote
Alex Koxaras Community Leader Aug 16, 2022

Hi @Philipp Wieseckel 

Jira by default will not send out notifications for changes to the user who caused the action. You have to go to System > Default User Preferences and turn on the "Notify users of their own changes".

notify users.png

Keep in mind though, that users are able to switch for their own profile only this option, thus not receiving any notifications.

Hope any of the above helps.

Alex

Hi @Alex Koxaras thanks for your response.

I think you got me wrong there its not about notifying the User that made a change but include the Users Username in the Subject of the Mail that gets send out.

@Alex Koxaras Thanks, i was aware of the documentation but am still unsure about the Variable i should use.

This: https://developer.atlassian.com/server/jira/platform/jira-templates-and-jsps/

seems to explain that i should use $remoteUser but it looks like it is not working properly.

Alex Koxaras Community Leader Aug 19, 2022

I would agree that by the looks of it remoteUser is the way to go. But I haven't a server instance to test it. What are the results you are getting?

It is "$remoteUser.displayname"

Like Alex Koxaras likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

198 views 1 6
Read article

Atlassian Community Events