Email notification mappings
Summary
The Email notification mapping is in charge of sending email messages from Issue events through a select outbound mail server. Within these Notification mappings you select the users and email address Custom Fields that should be notified.
A Outbound Mail Server would need to be configured within JEMHC > Messaging > Message Outbounds in order to configure a Email Notification Mapping. See: Message Outbounds (Email)
- 1 Summary
- 2 Creating a Email Notification Mapping
- 3 Email Notification Mapping configuration options:
- 3.1.1 Name
- 3.1.2 Enabled
- 3.1.3 Message Outbound
- 3.1.4 Format
- 3.1.5 Issue Created
- 3.1.6 Issue Updated
- 3.1.7 Issue Deleted
- 3.1.8 Only Send Notifications When A Comment Is Present
- 3.1.9 Projects
- 3.1.10 Recipient Type
- 3.1.11 JQL Whitelist
- 3.2 Sender
- 3.3 Audience
- 3.3.1 Inhibit actioning user's own actions options
- 3.3.2 Target Audience
- 3.3.3 Email Address Custom Fields
- 3.3.4 Notify Reporter
- 3.3.5 Notify Assignee
- 3.3.6 Notify Watchers
- 3.3.7 Notify Request Participants
- 3.3.8 Notify Current User
- 3.3.9 Notify Project Lead
- 3.3.10 Notify Component Leads
- 3.3.11 Notify Organizations
- 3.3.12 Notify Request Approvers
- 3.3.13 User Custom Fields
- 3.3.14 User
- 3.3.15 Group Custom Fields
- 3.3.16 Groups
- 3.3.17 Additional recipients (Advance)
- 3.3.17.1 Recipients Script
- 3.3.17.2 Participant Email Address
- 3.4 Attachments
- 3.4.1 Include Attachments
- 3.4.2 Recent Attachment Window
- 3.4.3 Include Attachments In templates
- 3.4.4 Thumbnail Images
- 3.4.5 Inline Image Strategy
- 3.4.6 Static Resources
- 3.5 Mail Threading
- 3.6 Customer Satisfaction Feedback
- 3.7 Approvals
- 3.8 Header Fields
- 3.8.1 Use Field Name
- 3.8.2 Jira recipients
- 3.8.3 Email Recipients
- 4 Related Articles
Creating a Email Notification Mapping
Go to JEMH Cloud > Notifications > Email > Create
Select the nominated projects, Mail Outbound to use, the templates to use and the users to notify e.g. Notify reporter. (More info about the options below)
On Submit, you should see the new SMS mapping
Email Notification Mapping configuration options:
Within the Notification Mapping configuration there are many different options that can be selected to customize how the Email Notifications are sent and who they are sent to. This section will cover each of these options.
Name
The Name of the Notification Mapping.
Enabled
Defines whether the Notification Mapping can be used.
Message Outbound
This is the Outbound mail server that should be used to send the notification
Format
This defines the format that the email notification should use. The options are Text and HTML.
Issue Created
The Template that is used to render Issue Created Notifications
When Jira sends multiple webhooks for a single issue and one webhook is an Issue created webhook, the JEMHC event bundle is treated as issue created, using the issue created template set.
Any subsequent events in the bundle can still be accessed in the template (to indicate the created issue has been commented on, or contains issue update changelogs). Learn more at https://thepluginpeople.atlassian.net/wiki/x/J4BvAg.
Issue Updated
The Template that is used to render Issue Updated Notifications
Issue Deleted
The Template that is used to render Issue Deleted Notifications
Only Send Notifications When A Comment Is Present
This means that a comment must be present within the event for the notification to be sent. This means that if the event is only a field value change then a notification will not be sent.
Projects
This defines the Projects that the Notification Mapping will send notifications for. This can be either be a select few Projects or for all Projects.
Recipient Type
This defines the header that should be used when sending the notification. The current options are To and Bcc. If To is selected then you will see a impact in the plan usage as each message will be sent individually. Recommended to use Bcc as multiple recipients can be notified with one message.
JQL Whitelist
This allows you to customize when the notifications can be sent. As only issues that match this JQL expression will receive notifications.
Sender
Sender Email Address
This is the Email address that is used within the From header for the notification. Your mailbox must be allowed to send emails as the resolved address. Leave it blank to use the Message Outbound's sender email address.
Sender Email Address Custom Field
This will extract an address from a Custom Field and then use this address within the From header of the email. This value must use one of the following formats to be used: Sender Name <sender@example.com>
or sender@example.com
. Your mailbox must be allowed to send emails as the resolved address. This overrides Sender Email Address and Sender Personal.
Sender Personal
This is a name that will be used as the personal sender for these notifications. Leave blank to use your email server’s default.
Use User Display Name As Sender Personal
This will use the full name of the user that performed the action as the sender personal. This overrides Sender Email Address Custom Field and Sender Personal.
Reply-To Email Address
This will set the Reply-To header to this address. If not set, mail clients use the from address when a user replies to the email.
Reply-To Email Address Custom Field
If this custom field contains a value that has a format of Replies Name <replies@example.com>
or replies@example.com
then it will be used for the Reply-To
header of the notification.
Audience
Inhibit actioning user's own actions options
Determines if users will be notified of actions that they performed themselves. On and Off options enable and disable the inhibition (prevention) of such notifications. The Smart option only notifies users of their own actions if there are also actions of other users present in issue events being notified.
Target Audience
This allows you to choose who should receive notifications. The options are:
Email Users
Jira Users
Email and Jira Users
If Email Users or Email and Jira Users is selected then Email Address Custom Fields configuration will appear.
Email Address Custom Fields
This is where you define the Custom Fields that contain Email addresses that should be notified. Typically the same Custom Fields as the ones selected within Profile > Project Mapping > Email Only Users.
Notify Reporter
This will send notifications to the Reporter of the issue.
Notify Assignee
This will send notifications to the Assignee of the issue.
Notify Watchers
This will send notifications to the Watchers on the issue.
Notify Request Participants
This will send notifications to all of the Request Participants found on the issue.
Notify Current User
This will send the notifications to the user that performs the change on the issue.
Notify Project Lead
This will send the notification to the Project Lead. This is defined within Project > Project Settings > Details > Project Lead.
Notify Component Leads
This will send the notifications to the Component Lead when a component has been selected on the issue. This is defined within Project > Project Settings > Component.
Notify Organizations
This will send the notifications to all of the members of the request organization.
Notify Request Approvers
This will send the notifications to the request approvers.
User Custom Fields
Sends the notifications to all users found within the selected Custom Fields.
User
This is a static list of users that should that receive notifications.
Group Custom Fields
Sends the notifications to all of the groups that are found within selected Custom Fields
Groups
Static list of groups that should be notified
Additional recipients (Advance)
Recipients Script
This allows you to create a Velocity Script that will add email address, user or groups dynamically. This allows recipients to be added conditionally.
For more info see: Add recipients by Velocity script
Participant Email Address
Enter a valid email address to be used as a BCC participant in all outgoing notifications.
Attachments
Include Attachments
This controls the size of attachments should be sent with the notifications. Here you are able to set:
The maximum size of each attachments that should be included in the notification. If exceeded then that one attachment will not be attached within the email.
The maximum total size of all the attachments combined. If exceeded then all of the attachments will not be attached within the email.
A message will be displayed within the Report for this event when attachments exceed these limits.
Recent Attachment Window
This will only add attachments that have been added to the issue within this specified time frame (e.g. 5 minutes) and if they have not already been sent. If they were added to the issue before the specified time frame or were sent in a previous email then they will not be included within this email notification.
Include Attachments In templates
This allows you to select the types of templates that can include attachments. If the template is not one of these specified types then the attachments will not be attached.
Current types are Issue Created, Issue Updated and Issue Deleted. Leave bank to include all template types.
Thumbnail Images
Defines the strategy to use when adding thumbnail images to email. Current options are:
Show Fullscreen Image
Show Thumbnail Image
Show Thumbnail Image and Attach Fullscreen image
Inline Image Strategy
This defines when images should be inlined within the notification. Current options are:
Inline All Images - Inlines all Images that are found
Inline Secured Image Only - Only images that need authentication such as issue attachments are attached inline.
Don’t Inline Images - External images are not inlined within the email.
Static Resources
This is where you select the Static Resources that should be sent within all of the notifications.
Mail Threading
Mail server clients may require different headers in order to group emails together (JEMHCloud email to be displayed below the original email that created the issue). For example Gmail requires the incoming email to include the original Message ID as a Reference and the original subject to stay the same. The following options allow you to tune those headers.
Include Reference To Original Mail
Adds the Message-ID of the email that created the issue to the References header of outgoing emails.
Use Original Mail Subject
This will use the subject of the original email that created the issue instead of the subject resolved from the template.
Customer Satisfaction Feedback
Customer Satisfaction Feedback allows you to collect feedback on resolved requests.
When enabled, a star-rating form will be added to notification emails. Upon clicking a star, the rating will be recorded in the request and the user will be redirected to the feedback form where an optional comment can be added.
For more info see: Collect customer satisfaction feedback
Approvals
Jira Service Management allows teams to set up approval steps in request workflows. For example, a manager may need to approve a new computer request before purchase. JEMH Cloud can integrate with request approvals by adding Approve and Decline buttons in the notifications it sends.
For more info see: Approving requests via email
Header Fields
By adding mail headers to notifications, you can potentially enable mail clients to filter more effectively. Selected fields will be populated in headers with the format X-JEMHC-DATA-FIELDID or X-JEMHC-DATA-FIELDNAME=value1,value2,value3.
Use Field Name
This defines the strategy used when naming the Header within the email. Current options are:
Use Field Id - e.g. X-JEMHC-DATA-CUSTOMFIELD_XXXXX
Use Field Name - e.g. X-JEMHC-DATA-A_CUSTOM_CHECKBOX
Jira recipients
These headers are only added when the notification is sent to a Jira User.
Email Recipients
These headers are only added when the notification is sent to a Email User.
Related Articles