Hi, I would like to exclude Slack notifications coming into the channel, when someone from my team comments something in JIRA. I've tried the following:
Are there other ways to approach it, not to get extra notifications from the JIRA Application in Slack integration?
Can you give it a try and see if this work for you - Create Rule by Set the trigger to "Issue Commented" to initiate the rule when a comment is added.
Next, add a condition to exclude comments from your team members. Use the User Condition or Advanced Compare Condition with a JQL query, such as "comment.author != 'username1' AND comment.author != 'username2'", replacing the usernames with those of your team members.
Then, add an action to send a Slack notification. Select New Action -> Send Slack message and configure the message to be sent to the desired channel.
Take some learning from the below post in the community which was discussed on these lines:
Slack notifications/integration for restricted com... (atlassian.com)
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
Hey, thanks for your answer, but unfortunately I assume our workspace doesn't have "comment.author" option, and when I'm trying to save this setting in JQL, it says:
Invalid JQL
Could not save project connection settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The comment.author field may not be available in the JQL for your Jira workspace, which can happen depending on your Jira setup or plan (Data Center / Jira Server and not Jira on Cloud).
For other options, am just trying to solve this with lastComment field in combination with user mentions to filter notifications, let me try to reach closer and will keep you posted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you give a try with the below and see it that helps to solve the issue:
text
issue.comment.author = xxxx
or for exclusion:
text
issue.comment.author NOT IN (user1, user2, ...)
text
issue.comment.author NOT IN membersOf("Your Team Group")
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.