Jira automation - Slack messages -single msg

j.saceda February 22, 2023

Hi,

I try to send a single Slack message using JIRA automation and the webhooks, and using a query. 

The problem is that instead of sending a single message, for ex.

This is the list of issues with some problem:

  • xxx-1: problem ABC
  • xxx-2: problem ABC
  • xxx-3: problem ABC

I receive one single message by issue, something like that

This is the list of issues with some problem:

  • xxx-1: problem ABC

This is the list of issues with some problem:

  • xxx-2: problem ABC

This is the list of issues with some problem:

  • xxx-3: problem ABC

How can I package in one single Slack message, to avoid the spamming in the group?

 

Thanks for your help

3 answers

1 accepted

1 vote
Answer accepted
Kris Dewachter
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2023

Hi @j.saceda ,

I think this can be done using smart values in the automation rule.

The page Run a rule against issues in bulk contains an example on how you can include a list of different issues in an email. You can reuse the same code for your Slack automation rule.

 

Best regards,

Kris

0 votes
j.saceda February 23, 2023

Hi both and thanks for your comment!

With Kris message, I was able to send a single Slack message with all the issues in a bulked way.

The link sent in your comment was not working, but I could find it here 

The key was in this picture/step

We can close this issue

scheduled_triggers

0 votes
Tugba Capaci
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2023

Hi @j.saceda ,

It seems like you are not be able to get list of multiple issues and their details in one Slack message.

Actioner, which is a Slack app builder, can help with your case through simple customization steps. We recently introduced a Jira-Slack integration. It might be worth to check it out!

In case you’d like to customize this app, you can implement any of the below options depending how you’d like to display your Jira issues in Slack.

1- You may customize the output of the ‘Search issues’ action to list the issues according to your search query.
2- Recurring jobs would help you to get listed issues daily/weekly, etc in Slack.
3- Whenever a Jira issue matching with your criteria is created (or updated), it is possible to customize Actioner’s Slack notifications to show all related issues in a single message.

If you are interesed please let me know. I'd be happy to assist you in such a customization!

Best,

Tugba

Suggest an answer

Log in or Sign up to answer