GithubHelp home page GithubHelp logo

isabella232 / redmine_slack_integration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from future-architect/redmine_slack_integration

0.0 0.0 0.0 18 KB

The redmine plugin for the integration of slack and redmine

License: MIT License

Ruby 98.77% HTML 1.23%

redmine_slack_integration's Introduction

Redmine Slack Integration Plugin

For Redmine 4.x.x.

Plugin installation

  1. Copy the plugin directory into the $REDMINE_ROOT/plugins directory. Please note that plugin's folder name should be redmine_slack_integration.
git clone [email protected]:future-architect/redmine_slack_integration.git redmine_slack_integration
  1. Install gem dependencies.
bundle install
  1. Run migration task.
RAILS_ENV=production rake redmine:plugins:migrate
  1. (Re)Start Redmine.

Settings

How to set Slack OAuth & Permissions

  1. Open Your Apps - Slack API from the following URL and create an app via "From scratch".

  2. 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

Set Slack API URL

  1. Log in to redmine with a redmine admin account.

  2. Go to "Administration" in the top menu -> "Plugins" -> "Redmine Slack Integration plugin" -> "Configuration" page.

  3. Set https://slack.com/api into "Slack API URL" field.

  4. Save this configuration.

Set Slack Token and Slack Channel project

  1. Log in to redmine with a project admin account.

  2. Open this project's "Settings" -> "Project" tab.

  3. Set your Slack App's "Bot User OAuth Token" ( starting with xoxb- ) to "Slack Token" field.

  4. Set your Slack channel name ( starting with # ) to "Slack Channel" field.

  5. Switch "Slack Disabled" to "No".

  6. Save this project settings.

Enable notification of your account

  1. Log in to redmine with your account.

  2. Open "My account" on the right of top menu.

  3. Switch "Slack Disabled" to "No".

Disable specified project

  1. Log in to redmine with a project admin account.

  2. Open the project's "Settings" -> "Project" tab.

  3. Switch "Slack Disabled" to "Yes".

Disable specified account

  1. Log in to redmine with your account.

  2. Open "My account" on the right of top menu.

  3. Switch "Slack Disabled" to "Yes".

When get notification?

  1. Create a new issue, and your chat room will get a message from redmine.

  2. Edit any issue, and your chat room will get a message from redmine.

Uninstall

RAILS_ENV=production rake db:migrate_plugins NAME=redmine_slack_integration VERSION=0

redmine_slack_integration's People

Contributors

komatsuyuji avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.