code-pipeline-slack
code-pipeline-slack copied to clipboard
Slack Bot Not Updating Message
The Slack Bot I have configured, it is not updating (chat.update
) the original message. It is posting a new message for each change in my pipeline. Your gif shows that it should be updating the original message as the steps are being executed in the pipeline.
Please advise.
Hey Connor, Did you add the permission scope to your bot?
It is required to add the permission scope 'Access user’s public channels' (channels:history).
Yes, and it posting to the channel. Just not updating the messages. I should mention this is a private Slack channel (if that makes a difference).

So that's what it was... it works if I use a PUBLIC slack channel.
However, when I click on Build Logs
it takes me to a null
logGroup and null
logStream.

Well, I do not know if this suits to this issue, but the final result is far away from the result shown at build.gif
on readme.md
🙁
Result:
Gif:
@rayjanoka or @connor-tyndall
I can't get the bot to post anything at all. I have the cloudformation stack deployed with the master branch of repo instead of the outdated deployment link. I also added in:
SLACK_CHANNEL: !Ref SlackChannel
I have both tokens set but no messaging ever appears. Curious if you could point me in the right direction to test the lambda