Stop slackbot's JIRA comments to spam user's email

Ishank Jain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2024

My Slackbot is set up to add users' email addresses to Jira comments whenever a response is added to a Slack thread. I want to prevent Jira from sending an email to the user when the Slackbot Jira account tags them in a comment. In short, I'm receiving emails from Jira for my own comments on Slack.

Is there a Jira setting or custom notification configuration to stop it from sending emails when a comment is added by a specific user (Slackbot account)?

1 answer

0 votes
Humashankar VJ
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.
October 24, 2024

Hi @Ishank Jain 

Try this option starting from Jira Administration, navigate to System > Events and create a custom event named "Slackbot Comment" using the Generic Event template.

Next, modify the relevant workflow by adding a post-function to the transition where Slackbot adds comments, configuring it to fire the new custom event instead of the default "Issue Commented" event.

Then, update the Notification Scheme under Jira Administration > Issues > Notification Schemes. Edit your project's scheme, adding the "Slackbot Comment" event without assigning recipients, while preserving existing notifications for the "Issue Commented" event.

This customized approach enables you to maintain email notifications for regular comments, prevent notifications for Slackbot-added comments, and preserve Slackbot functionality. Importantly, always utilize Jira's built-in configuration options or approved extension points when customizing behavior, avoiding direct database manipulation.

To learn more

Configure notification schemes | Atlassian Support

Configure email notifications for a custom event | Atlassian Support

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Suggest an answer

Log in or Sign up to answer