It is often useful to change the sender email address and/or sender name in your outgoing email, overriding the JIRA settings.
Step-by-step guide
- Add or edit a Context in Email This Issue.
- In the Context's From Address, enter a static email address or a dynamic value that will evaluate to a valid email address.
Specify (in Velocity markup syntax) how to format the From Email Address in outgoing emails. If left empty, JETI will use default settings.
E.g. to add the project name enter this: $!{issue.projectObject.name}@mycompany.com, or
to add a custom field value: $!jetiFieldRenderer.renderCustomField($issue, 'customfield_10000') or
to use the current user like $!remoteUser.emailAddress
- In the Context's Sender Name field, enter a static or dynamic value
Specify (in Velocity markup syntax) how to format the sender's name in outgoing emails. If left empty, JETI will use JIRA's default settings.
E.g.to add the project name enter this: $!issue.projectObject.name, or
to add a custom field value: $!jetiFieldRenderer.renderCustomField($issue, 'customfield_10000') or
to refer to the current user: $!remoteUser.displayName
Authorize sender addresses in the SMTP server
The ultimate sender email address must be validated successfully by your SMTP server. If the sender address is an invalid or not authorized sender, the SMTP server will override the sender to the default address.
Related articles