Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a single slack notification listing multiple issues

Andrew
Contributor
November 13, 2023

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!

 

1 answer

1 accepted

1 vote
Answer accepted
Vinu
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 Champions.
November 11, 2018

Hi @Madhu Reddy

Welcome to the community!

You can make use of issue security scheme to get this functionality.

You can set set in a post function in the create transition to update the security level and that should get your issue restricted.

For more info --> https://confluence.atlassian.com/adminjiraserver073/configuring-issue-level-security-861253265.html

Suggest an answer

Log in or Sign up to answer