I set up an automation to send a Slack message when there's a successful Deploy on CircleCI. It's running when expected, but instead of sending the message once, it's spamming our Slack channel depending on how many JIRA issues were in that deploy.
So if there were 9 issues successfully deployed, it's sending the message 18 times in Slack. Any tips on how to just get a single message when deploy succeeds?
@Ran Craycraft Can you double-check how many issues are included in one deployment? The slack message is sent per issue rather than per deployment. Take an example, if the deployment includes 3 issues, you will receive 3 messages.
Thanks for the note, @Joy Chiu . Ok, we can probably work around that. I changed the message, but it's definitely doubling up posts to Slack.
Here's what I mean:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Joy Chiu I can confirm it's doubling up the number of issues broadcast to Slack. We suspect it's because:
We are currently sending events to Jira from CircleCI.
As we are deploying components to two platforms in each environment (Firebase & Kubernetes), the Jira automation is triggered at the end of a successful update on each platform causing 2x as many notifications in Slack.
Any tips?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ran Craycraft It depends on how many times CircleCI sends events to Jira. I'd think Jira receives the event twice, so the message is sent twice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.