Simply sent slack messages about new articles and blog posts created in your confluence. Main purpose of this project is, to share blog posts with slack, but via CQL it is possible to share all kinds of articles, comments or other types of content via slack message.
You must define some variables, like username, password and baseurl of your confluence instance. Then you must define a CQL that will filter the articles or blog posts that should be sent as slack messages.
Next you must define the slack webhook url and the message that should be sent (use {link} to get a link with the title as text).
Finally you must define a cron expression when you want to check for new articles (use something like https://crontab.guru/ if you are precarious how to create one).
docker volume create confluence-to-slack
docker run -v confluence-to-slack:/data \
-d --name="confluence-to-slack" \
--env USERNAME=XXX \
--env PASSWORD=XXX \
--env BASE_URL=XXX \
--env CQL="space in (EKB) AND type=blogpost ORDER BY created DESC" \
--env SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXXX \
--env MESSAGE="New blog post: {link}" \
--env CRON_EXP="* * * * *" \
inverscom/confluence-to-slack
Content type
Image
Digest
Size
355.2 MB
Last updated
about 6 years ago
docker pull inverscom/confluence-to-slack