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

How to send a single slack notification listing multiple issues

Edited

Hi Team,

I am trying to create an automation rule that can send me a single slack notification listing all jira items that have been waiting in Final Review for more than 2 days. I have got the trigger working correctly where I am using a JQL query to find all the matching items and that is working correctly. But instead of getting a single slack message with all issues from the JQL I am getting a slack message per issue from the JQL.

Below is what I am using in the slack notification part of my rule. 

*The following items have been waiting in Final Review for 2 days*

<URL for my work jira/{{issue.key}}|{{issue.key}}> - *{{issue.customfield_10370}}*

{{issue.customfield_10387}}

I looked up info on smart values and tried their simple examples such as

{{#issues}}{{key}}{{/}}

But still I receive a slack message per issue from the JQL

Any help and guidance from anyone would be awesome!

 

2 answers

1 accepted

1 vote
Answer accepted
Dag Atle Stenstad
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 14, 2023 • edited

Hi Andrew! Welcome to the community.

I think this rule will solve your case.

 

Jira Automate.png

I tried this and the listing of all the items in a message is working, however it didn't send me a single slack message. It sent me a slack message for the number of items.

So in this case my JQL query returned 4 matching items, so slaack sent me 4 messages with the same summary

Dag Atle Stenstad
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2023

Can you check if the checkbox under the 'Scheduled' section is unchecked?

 

2023-11-16 14_42_14-Automation - Jira og 4 sider til – Arbeid – Microsoft​ Edge.png

Like Andrew likes this

You were 100% spot on! Had that enabled and now everything is working. Life changing!! Legend - thanks again @Dag Atle Stentad 

Like Dag Atle Stenstad likes this

@Dag Atle Stenstad you legend!

Will give this a go today and see how it plays out. Appreciate you taking the time to look into this and help me

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events