Slack how-to guides
Notify slack when an issue is created / updated.
Include any issue data in the message.
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 Create button
Enter a name: Slack Channel 1 and click Create
Select Method: POST and URL: paste the URL that Slack generated in the above step
Add request headers, key: Content-Type with value application/json
On the Body section add the following
{ "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 ISSUE CREATED ISSUE UPDATED events to trigger the notification on these events
On JQL Condition. When to execute the event(s) write Project = TESTB and to limit the trigger to the TESTB project
Click 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: