Versions Compared

Key

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

...

Slack setup

  1. Create a new App: https://api.slack.com/apps?new_app=1
    1. Name: RINT
    2. Workspace: Your Workspace
  2. Select Incoming Webhook
  3. Click Enable
  4. Click Add new Webhook
    1. Select channel
    2. Copy the URL that was generated
  5. Repeat step 4. for each channel you want to set up

...

REST Integration and Automations for JIRA setup

Steps

  1. Create a new Action by clicking 
    Status
    colourBlue
    titleCreate
     button
  2. Enter a name: Slack Channel 1 and click 
    Status
    colourBlue
    titleCreate
  3. Select Method:
    Status
    colourYellow
    titlePOST
     and URL: paste the URL that Slack generated in the above step
  4. Add request headers, key: Content-Type with value application/json
  5. On the Body section add the following

    Code Block
    {
    "text":"{{issue.summary}} has been created! *{{issue.key}}*\nhttps://localhost/projects/TESTB/issues/{{issue.key}}"
    }

    Here we use the Mustache syntax to grab the issue details that we want to include.

  6. Click Triggers tab
  7. Select 
    Status
    colourGreen
    titleISSUE CREATED
     
    Status
    colourGreen
    titleISSUE UPDATED
     events to trigger the notification on these events
  8. On JQL Condition. When to execute the event(s) write Project = TESTB and to limit the trigger to the TESTB project
  9. Click 
    Status
    colourBlue
    titleSAVE
  10. (Optional) Click Test button (no issue key is needed) to and click Send, Then go Log Tab.

The result would look something like this:

Image Added