...
Go to JEMH Cloud > Notifications > Slack > Create
Complete the form, select the nominated projects, select the Slack Connection you want to use and the channel that will receive Slack messages. Enter a velocity script if you want to modify the notification behaviour at runtime (more below).
On Submit, you should see the new Slack mapping
To test the mapping, create an issue in the nominated project and go to Auditing > Events
You should see the issue created event in the queue. When event has been processed, the configured channel in the mapping should have received an Slack message.
The report of the event should confirm the message was sent to a selected Slack channel (e.g.)
In Auditing > Outbound Messages > Type Slack, the table should show the Slack messages sent and the cog icon should show their contents.
Send Slack Notifications from Post Functions
...
Go to right corner Cog > JIRA Administration > Issue > Workflows. Edit the workflow of the project you want to add the Post Function. Click on the transition you want to change and select the Post Functions tab. Click on Add post function
Select Send Slack Notification by JEMHCloud and click Add
Set the Slack Connection, Chanel and Velocity script if necessary. Press Add/Update
Move the Post Function to last position and publish the workflow draft.
Remember to publish the workflow change draft!
To test the post function, go to an issue and perform the transition.
Post function event should appear in JEMH Cloud > Notifications > Events. The event report identifies the channel notified:
In Auditing > Outbound Messages, the table shows the SLACK messages sent.
...
Send Slack Notification when a email was not fully processed
You are able to send a Slack notification when a email was not fully processed by creating a IM Notification within Auditing > IM Notifications.
For more info about IM Notifications see: IM Notifications
When IM Notifications is configured it will send a notification for the following scenarios:
Excluded - Sends a notification when JEMHCloud excludes an incoming email. e.g. Sender matches a Exclusion, Email Subject matches a Exclusion.
No Catchemail Match - Sends a notification when JEMHCloud processes an incoming email that doesn't match the catchemail profile configuration.
Error Processing - Sends a notification when JEMHCloud can't process an incoming email because of an error. e.g. Outbound email is too large to be sent by the Mail Server.
Limit Exceeded - Sends a notification when JEMHCloud can't process an incoming email because limits have been exceeded (loop detection). e.g. Comment Count Limit exceeded (configured in Profile).
Forwarded - Sends a notification when JEMHCloud forwards an incoming email. e.g. due to exclusion, no catchemail match or error.
Precedence Bulk - Sends a notification when JEMHCloud ignores or forwards a inbound bulk email. e.g. emails that contain a “Precedence: Bulk” header. Precedence Bulk is configured within the Profile.
Message Dropped -Sends a notification when JEMHCloud drops an email for any reason.
User Created - Sends a notification when JEMHCloud auto-creates a user.
Log - Sends a notification when JEMHCloud needs to inform you something important outside the previous operations.
Slack Notification Mapping configuration Options
...
Warning |
---|
Velocity Script cannot be validated at configuration time (for example the dynamic channel). You should test the script by re-executing events in Auditing > Events |
Related Articles
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|