Versions Compared

Key

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

...

  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

R

...

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}}"

...

  1. 
    }

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

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

Result would look something like this:

Image Added