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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation Is Posting Duplicate Slack Messages

We've created basic automation that grabs a selection of tickets in a specific status, and posts that list to a slack channel each week. No matter how the slack message is configured, even using the out of the box templates from Atlassian, it's duplicating the slack message. 

Automation Configuration: 


1. When:Scheduled(Uses JQL)

2. Then: Send Slack Message
Here are the tickets that will be released this Tuesday!
{{#lookupIssues}}
* {{key}} {{summary}}
{{/}}



This results in two identical messages being posted in slack. 

"Here are the tickets being released this Tuesday
*issue one 
*issue two 
*issue three"

"Here are the tickets being released this Tuesday
*issue one 
*issue two 
*issue three" 


1 answer

0 votes
Clark Everson
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 27, 2023

Hi Jonathan,

Welcome to the community!

Is the automation rule showing anything in the log? Is the rule triggering more than once? If so I would check the JQL

Best,
Clark

Thanks for the feedback! The log just shows that it was successful. It ran once. Posted the slack message. 

Action Details: 
Send Slack Message: Successfully sent slack message. 

Actually, I found a work around. Not sure what could cause this.Use the same JQL query. Instead of using it on the "When Scheduled" step, create a new step for "Lookup" 


1. When:Scheduled(Just sets the time)

2. Then: Lookup Issues(Use the JQL here)

3. Then: Send Slack Message
Here are the tickets that will be released this Tuesday!
{{#lookupIssues}}
* {{key}} {{summary}}
{{/}}


That works fine. 

Hi I tried this and I still get duplicate messages. Any idea what might have gone wrong here?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events