For Redmine 4.x.x.
- Copy the plugin directory into the
$REDMINE_ROOT/plugins
directory. Please note that plugin's folder name should beredmine_slack_integration
.
git clone git@github.com:future-architect/redmine_slack_integration.git redmine_slack_integration
- Install gem dependencies.
bundle install
- Run migration task.
RAILS_ENV=production rake redmine:plugins:migrate
- (Re)Start Redmine.
-
Open Your Apps - Slack API from the following URL and create an app via "From scratch".
-
Open "Add features and functionality" -> "Permissions" -> "Scopes" and add the following oauth scopes to "Slack Bot Token Scopes".
-
chat:write
-
chat:write.customize
-
chat:write.public
-
users:read
-
users:read.email
-
-
Log in to redmine with a redmine admin account.
-
Go to "Administration" in the top menu -> "Plugins" -> "Redmine Slack Integration plugin" -> "Configuration" page.
-
Set
https://slack.com/api
into "Slack API URL" field. -
Save this configuration.
-
Log in to redmine with a project admin account.
-
Open this project's "Settings" -> "Project" tab.
-
Set your Slack App's "Bot User OAuth Token" ( starting with
xoxb-
) to "Slack Token" field. -
Set your Slack channel name ( starting with
#
) to "Slack Channel" field. -
Switch "Slack Disabled" to "No".
-
Save this project settings.
-
Log in to redmine with your account.
-
Open "My account" on the right of top menu.
-
Switch "Slack Disabled" to "No".
-
Log in to redmine with a project admin account.
-
Open the project's "Settings" -> "Project" tab.
-
Switch "Slack Disabled" to "Yes".
-
Log in to redmine with your account.
-
Open "My account" on the right of top menu.
-
Switch "Slack Disabled" to "Yes".
-
Create a new issue, and your chat room will get a message from redmine.
-
Edit any issue, and your chat room will get a message from redmine.
RAILS_ENV=production rake db:migrate_plugins NAME=redmine_slack_integration VERSION=0