Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,734
Community Members
 
Community Events
165
Community Groups

Is it possible to send multiple notification to multiple Slack users ?

Hi guys,

I wish to send a SLACK notification to all assignees of linked issues (blocked) when the blocking issue is resolved.

I've created an automation code which sends slack notifications to the linked issue assignee. However this works only for the assignee of the first issue as I am sending to.

I wonder if there is a way to loop three all the linked (Blocked by) issues and send to their assignee a message?

1 answer

1 accepted

0 votes
Answer accepted
Chris Buzon Community Leader Jun 09, 2022

You can use Advanced Branches for this - when you do a Lookup action it's automatically assigned to a smart value, you can assign it to a variable, then in the advanced branch you can do a bunch of things with that variable (which has the results of your lookup in it, even if it's multiple tickets), like sending slack messages. 

You can then access that variable in other parts of the rule.

There are lots of ways to use this method, but it will take some experimentation to get it working the way you want.

Thanks Chris for the explanation. Good to know even though in my case there was no need for that. I just needed to modify the condition from the 'current issue' to the 'related ones' and the system repeated the action for each of the linked (Blocked) issues. So it did send multiple slack messages.

I needed to know though that everything beneath the condition (simple branch) is executed on each of the issues that match the condition above the branch.

(Writing this here for the records and knowledge-base

Like Chris Buzon likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

274 views 0 6
Join discussion

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