Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Send Slack message sends too many messages that are the same Edited

Hi there!

I've noticed that there might be a problem (it may be on my end but I've dicided to start from asking the community): the send Slack message action sends as many messages as there are tasks have been found by JQL. 

My aim is to show a list of tasks that are in a status for more than two days.

The automation I've made:

chrome_KEdYt14k0x.png

JQL finds 19 issues. So, the goal is to send one message to Slack with a list of these issues. Instead, I'm recieving 19 messages to Slack that are the same: there is a list and a custom text.

Is there a way of making Jira automation to send one message to Slack? The automation used to work a week ago. It was sending only one message with a list.

I've tried doing the thing via the condition (if/if/else) as well to no avail...

1 answer

1 accepted

0 votes
Answer accepted
Sam Harding Atlassian Team Aug 03, 2020

Hi,

The reason this is happening is due to the trigger configuration. The scheduled trigger is using JQL to find issues which match that criteria (project = SH and status = "In review" etc). For every issue that this JQL finds, it will execute the rule, so therefore when it finds 19 issues which match this criteria, it executes this rule 19 times (hence the 19 slack messages). Given you are using lookup Issues to find the issues you are wanting to send to slack anyway, you can simply remove this JQL from the Scheduled trigger (deselecting the 'Run a JQL search and execute.....' option), and the rule should behave as you are wanting.

Let us know if this works for you or if you have any further issues.

Cheers!

Thank you! Silly me :D

Like Sam Harding likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

997 views 17 26
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