Open kdiverson opened 8 years ago
You can try set a invalid Slack channle name in field "Slack Channel" in Redmine Slack plugin settings. Then all notification from all projects will not receiving. And for needed projects you can set a custom field with true channel name
Thanks for the suggestion but that doesn't seem to work. If I change the channel in the plugin settings I don't get any notifications. I have the channel and url set as custom fields with the correct slack url and channel. I'm only getting slack notifications if the plugin settings have the url and channel.
Setting a custom field named Slack channel
in addition to Slack URL
fix the issue for me; now the plugin send slack notifications for multiple projects in dedicate channels; If there are not per-project settings, default are used.
My environment:
Environment:
Redmine version 3.2.4.stable
Ruby version 2.2.4-p230 (2015-12-16) [x86_64-linux]
Rails version 4.2.7.1
The field Slack URL
isn't needed anymore.
Just use Slack channel
as suggested by @cydvd and that should do the trick.
@sciyoshi I think this can be closed.
For me, I created two custom fields on project, Slack URL and Slack Channel Then go to slack their app integration --> Custome Integrations --> Incoming WebHooks, and here add Configuration and create webhook for the particular project. Here u get the particular URL for the particular project. Then go to redmine select the project and in setting you to have new fields as we created i.e Slack URL and Slack Channel, put your webhooks url here and your channel name.
Is it possible to have the plugin only listen to a particular project on redmine? Our redmine server has several projects but we only want updates in slack from one of the projects. I see that I can create a custom field for
Slack Channel
and silence notifications using-
for the custom channel but would I have to do this for all projects I don't want notifications for?