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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.