...
Slack setup
- Create a new App: https://api.slack.com/apps?new_app=1
- Name: RINT
- Workspace: Your Workspace
- Select Incoming Webhook
- Click Enable
- Click Add new Webhook
- Select channel
- Copy the URL that was generated
- Repeat step 4. for each channel you want to set up
...
REST Integration and Automations for JIRA setup
Steps
- Create a new Action by clicking
buttonStatus colour Blue title Create - Enter a name: Slack Channel 1 and click
Status colour Blue title Create - Select Method:
and URL: paste the URL that Slack generated in the above stepStatus colour Yellow title POST - Add request headers, key: Content-Type with value application/json
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.
- Click Triggers tab
- Select
Status colour Green title ISSUE CREATED
events to trigger the notification on these eventsStatus colour Green title ISSUE UPDATED - On JQL Condition. When to execute the event(s) write Project = TESTB and to limit the trigger to the TESTB project
- Click
Status colour Blue title SAVE - (Optional) Click Test button (no issue key is needed) to and click Send, Then go Log Tab.
The result would look something like this: