We have integrated Jira Core with Slack and have set up notifications for ticket creation.
We are also using Email This Issue Mail Handlers in order to automatically create tickets in project "External" whenever an email is sent to an email address.
Tickets are created by a service account "customer_ext".
The issue is the following:
[-] Manual ticket creation in project "External" -> Slack receives only one notification (working as expected)
[-] Ticket created by Email This Issue Mail Handler (from inbound email) in project "External" -> Slack receives two identical notifications
Some additional information (currently not aware if related to the issue):
Under Administration > System > Slack integration:
I am unable to see project "External" in the drop down menu in order to set up a notification:
I have been able to set up the notification from Administration > Projects > "External" > Slack integration
Could you please assist me with determining the root cause of these double notifications on ticket creation by email handlers from Email This Issue?
Or maybe point me in the right direction as currently I have ran out of ideas on how to troubleshoot further.
Also, is there any verbose logging I can enable / locate for the slack integration where I can observe why the notification has come through twice?
Slack connection is no longer limited since we went away from the self signed cert.
This however still does not add commands such as the /jira info available for the Cloud where you can investigate duplicate channel subscriptions.
Your effort is highly appreciated!
In case anyone is having the same issues with Email This Issue (JETI) in the future:
1. Manage apps > Email This Issue > Configuration
2. Incoming emails > Mail Handlers (this is the logic of the mail handler, not the actual mail handler you are setting up in System > Incoming Mail)
3. Edit the mail handler, scroll down to Acknowledge Incoming Emails
4. You will notice that it has been set up by default to fire an Issue created event (which is added on top of the always fired Issue created event by Jira)
And that is why we have 2 events thus 2 updates in Slack.
To resolve simply choose Do not fire event
I understand that you are seeing duplicate notifications in Slack when integrated with Jira. I suspect that you might have created more than one subscription between this slack channel and this project, in which case we could expect to see duplication of events.
Go into the slack channel in question, and type:
This should return to you details of subscriptions there, and provide a button called 'Manage Subscriptions'. If you can get that far, then you should be able to remove the duplicate subscription there.
Try this and let me know the results.
Thank you for the response.
I have attempted that before as well, however currently unsure if it is supported for the server-hosted Jira or is only available for cloud.
This is the output I am receiving:
Do you have any ideas for further troubleshooting?
Thank you again,
Sorry Dimitar, I think I was confused with the Jira Cloud integration. Try taking a look at the setup documentation in How do I set up a project to post notifications into Slack?
I am curious to see what settings you have for your setup, particularly on the page
My thought here is that perhaps under the bottom section for 'send a message to the channel when', if you have multiple check boxes selected such as "issue Created" and "Assignee Updated" if both actions happen during the same transition, perhaps there is a logic flaw to trigger the notification once for each event.
Please let me know what kind of configuration this EXT project has within the slack integration in Jira and perhaps we can learn more about this problem that way.
I came across another report of a duplicate notification behavior in the Jira Server/slack integration over in https://community.atlassian.com/t5/Jira-questions/Duplicate-slack-notifications-four-of-them-for-every-issue/qaq-p/1272036
It appears there is a bug in the plugin. The good news is that this has been fixed in the 2.0.6 version of that plugin. You can check out the version in the marketplace listing in https://marketplace.atlassian.com/apps/1220099/jira-server-for-slack-official/version-history
You should be able to update this plugin in your Jira Server site in order to resolve this.
Sorry again for the confusion. Please try this and let me know the results.
Apologies for the late update. I had some additional configurations to look at.
The interesting bit is that our plugin is on the 2.0.6 version:
Regarding your previous concern, the notification is set up to trigger on only issue creation:
What I have noticed is that if I create an issue manually in the project, I receive only 1 notification.
If the issue is created automatically from an incoming email, 2 notifications are received in slack.
I will continue to research this.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events