...
- 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 View Execution Log Tab.
Result The result would look something like this: