...
It's recommended to use the standard recipients configuration (notify reporter, notify watchers, etc.) when the recipients are not conditional.
Conditional Recipients
Conditional recipients in Issue Notifications
To add conditional recipients in notifications, go to Notifications -> Issue and edit your mapping by clicking on the Cog icon.
...
Info |
---|
JEMHCloud doesn't duplicate emails. if an email has been resolved by several configurations (static or script), the recipient will receive the notification only once. |
Conditional recipients in Ad-Hoc Notifications and Post Functions
Recipients scripts can be added to AdHoc and Post Function Notifications as TO, CC or BCC. Each script resolves the recipients for each type. E.g.: A recipient the CC script resolves, will receive the email as CC.
Velocity contexts and notification mechanisms are the same in all three features (Issue, AdHoc and Post Function notifications)
Examples
The following examples can be used in Issue, Adhoc and Post Function notification:
...
Note |
---|
Adding a group by script (addGroupRecipients method) requires workaround user to be set. |
Testing
Issue notifications can be tested by creating or updating Issues through JIRA user interface, JEMH Cloud's email processing or JEMH Cloud's test cases. These actions will generate issue events that JEMH Cloud listens for.
...
Warning |
---|
Re-running an event will resend the emails. To avoid spamming your users, use a test mail server like mailtrap or disable the mail server by going to Notifications -> Message Outbound. |
Related Articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|