Slack app that notifies user when they are mentionned on an Atlassian Cloud product: BitBucket, Jira, Confluence and inVision
- Create a public #notifications channel
- Mute the channel for everyone
- Add Atlassian Cloud app to your Slack Workspace to publish mentions into a #notifications channel
- Atlassian bot only mention the person creating the event, which is useless. We want the tagged person to be notified in Slack.
- Create a dummy Slack app https://api.slack.com/apps
- Configure it to read a #notification channel
- This bot will publis read messages to a webhook, you will set this url to this project webservice once up.
- Publish this repo to "railway", "vercel", "heroku" or "render"
- get the url and set it to the Slack bot webhook url
- set the environment variables
GET /
Will read the request body to find user match to notify user in Slack
Supports Bitbucket, Confluence, Jira and InVision
GET /envs
Show the environment variables
#SLACK_AUTH_TOKEN : Bot Auth Token
#READ_CHANNEL : Slack channel id ... find it by opening Slack Web https://app.slack.com/
#PORT : Web service port, default 3000
GET /ping
Web service health check