Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into your Slack's Team

  2. Go to JEMH Cloud > Slack Connection > Connect To Slack

  3. Authorize JEMHC to be installed to Slack as an App. This allows communication from JEMHCloud to Slack

  4. Check out new Slack Connection on the screen.

...

  1. image-20221208-114508.pngImage Added

Once you have the connection created, you will then need to create a Slack Notification Mapping to drive notification from Issue Created/Updated/Deleted events or Slack Post Functions to send notifications from transition events.

...

  1. Go to JEMH Cloud → Notifications → Slack → Create

    Image RemovedImage Added
  2. 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).

    Image Removedimage-20221208-114714.pngImage Added
  3. On Submit, you should see the new Slack mapping

    Image Removedimage-20221208-114821.pngImage Added
  4. To test the mapping, create an issue in the nominated project and go to Auditing → Events

  5. 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.

    Image Removedimage2016-10-22 11_4_57.pngImage Added
  6. The report of the event should confirm the message was sent to a selected Slack channel (e.g.) 

...

  1. 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

  2. Select Send Slack Notification by JEMHCloud and click Add

  3. Set the Slack Connection, Chanel and Velocity script if necessary. Press Add/Update

    Image Removedimage-20221208-115521.pngImage Added

     

  4. Move the Post Function to last position and publish the workflow draft.

    Image Removedimage2016-10-22 11_28_11.pngImage Added
  5. Remember to publish the workflow change draft! 

  6. To test the post function, go to an issue and perform the transition.

  7. Post function event should appear in JEMH Cloud → Notifications → Events. The event report identifies the channel notified:

...