Anyone know of a way to 'group' MS Teams notifications together when multiple issues are identified in an Automation?
Right now, if more than one issue is identified the automation will send 1 Teams message per each issue identified in the JQL search. I'd like to only have 1 Teams message sent with the list of issues in that 1 notification.
Thanks,
Devin
Hi @Devin Ponda
I would recommend using an automation like this:
{{#lookupIssues}}
* Whatever you want stated for each issue
{{/}}
Thanks Mark.
That's pretty much what I have in place, but the way the automations run hits every issue and sends a message for each one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Devin Ponda - Right now your JQL is in the Schedule Trigger which means it will iterate over each one. Instead, you want to set the trigger to just execute without JQL and then use the Lookup Issues action to get your issue results. From there, you would use the {{#lookupIssues}}{{/}} to group the results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll look at that again, but I had tried that and was having issues. I'll let you know what happens. The error was requiring me to have it in the Schedule Trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't get the IF statement to be there if I remove the JQL from the Schedule and put the Lookup Issue back in.
I don't want alerts sent if the Lookup finds zero issues, which is what I was going for with the IF statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if you add this to your Lookup Issues JQL?
AND components IS EMPTY
If there is more to your automation rule, you could add a second up Lookup Issues action later with the clause
AND components IS NOT EMPTY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mark!
I appreciate all of your updates and time, I was able to use this by putting in place the following steps. It's been working as expected so I think we're ok now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.