-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New slack webhooks not accepting channels modifications #56
Comments
It is possible to use a single webhook to send messages to different channels, using the The reason why the webhooks mapping exists in this plugin is to allow sending notifications to different Slack workspaces based on the Mantis project. |
Thanks for the clarifications. However, I tested it, creating a webhook in Slack, and then filling the channel mapping, and no messages where emitted to the channels... Is the Alright, I understand, that's a good point. |
I would say make sure your configuration is correct, and you can trace the code: https://github.com/infojunkie/MantisBT-Slack/blob/master/Slack.php#L312-L315 |
The documentation page states :
That would explain why my Mantis is always posting in the webhook channel, not taking into account the I think the plugin was made for legacy webhooks and hence does not work with the new ones
|
Thanks for the research and explanation! Since legacy webhooks are still functional, it does not make sense to remove the channel mapping functionality just yet. I suggest the following:
|
Is there any plan to change the legacy code for this web hook? |
I am not familiar with the state of webhooks in Slack today, so my previous comment still stands. Also, before removing the settings |
Hello there !
I plan to work on your plugin, and I was a bit disappointed at first by the two existing mappings, "channels" and "webhooks".
I just tried to setup a Mantis (v2.25.0), adding MantisBT-Slack, and I found out "channels" seem to bu useless now...
Creating a webhook in Slack requires a defined channel, and it seems that you can't override that thing. So if I understand right, only the webhook mapping is useful ? Shouldn't we remove all the channel-related code ?
Thanks in advance for your answers !
The text was updated successfully, but these errors were encountered: