Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Automation is Spamming Our Slack Channel

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?

 

Screen Shot 2021-07-15 at 1.02.56 PM.pngScreen Shot 2021-07-15 at 1.03.24 PM.png

1 answer

0 votes
Joy Chiu Atlassian Team Jul 15, 2021

@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: Screen Shot 2021-07-15 at 10.14.16 PM.png 

@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?

Joy Chiu Atlassian Team Jul 18, 2021

@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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

866 views 2 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you