You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user can create duplicate subscription for an existing subscription and it results in generating same notification the number of times the subscription is duplicated.
Steps to reproduce
Create a subscription using the /jira subscribe edit slash command in any desired channel or DM/GM on MM.
Create a duplicate subscription for the above added subscription using the /jira subscribe edit slash command in the same desired channel or DM/GM on MM.
Create the event on Jira for which the above subscriptions were created in the desired channel or DM/GM on MM.
Expected behavior
The user should get only one notification for the event in the desired channel or DM/GM on MM.
Actual behavior
The user is getting N number of notifications for the event in the desired channel or DM/GM where N is the number of subscriptions created for that event on MM.
Screenshots
The text was updated successfully, but these errors were encountered:
Not sure if this is related but after issues with the settings (in Jira, webhook and app permissions) I set up a new app in Jira and deleted the old one. Since then I am receiving duplicate notifications for every action I am subscribed to.
Not sure if this is related but after issues with the settings (in Jira, webhook and app permissions) I set up a new app in Jira and deleted the old one. Since then I am receiving duplicate notifications for every action I am subscribed to.
@mkddostro Did create new subscriptions after setting up the new app?
…n case of duplicate subscriptions (#1103)
* [GH-1011] Added conditional to avoid posting multiple notifications in case of duplicate subscriptions.
* [MM-1011]: used map in place of traversing array for getChannelsSubscribed
* [MM-1011]: Update the map on every iteration
---------
Co-authored-by: kshitij katiyar <kshitij.katiyar@brightscout.com>
Summary
The user can create duplicate subscription for an existing subscription and it results in generating same notification the number of times the subscription is duplicated.
Steps to reproduce
/jira subscribe edit
slash command in any desired channel or DM/GM on MM./jira subscribe edit
slash command in the same desired channel or DM/GM on MM.Expected behavior
The user should get only one notification for the event in the desired channel or DM/GM on MM.
Actual behavior
The user is getting N number of notifications for the event in the desired channel or DM/GM where N is the number of subscriptions created for that event on MM.
Screenshots
The text was updated successfully, but these errors were encountered: