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