GithubHelp home page GithubHelp logo

rtyshyk / redmine_rocketchat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scantem/redmine_rocketchat

0.0 2.0 0.0 408 KB

Rocket.chat notification plugin for Redmine

License: Other

Ruby 78.37% HTML 21.63%

redmine_rocketchat's Introduction

Rocket.chat chat plugin for Redmine

This plugin posts updates to issues in your Redmine installation to a Rocket.chat channel.

Redmine Supported versions: 2.0.x - 3.2.x.

Screenshot

screenshot

Installation

From your Redmine plugins directory, clone this repository as redmine_rocketchat (note the underscore!):

git clone https://github.com/scantem/redmine_rocketchat.git redmine_rocketchat

You will also need the httpclient dependency, which can be installed by running

bundle install

from the plugin directory.

Restart Redmine, and you should see the plugin show up in the Plugins page. Under the configuration options, set the Rocket.chat API URL to the URL for an Incoming WebHook integration in your Rocket.chat account (see also the next two sections).

Customized Routing

You can also route messages to different channels on a per-project basis. To do this, create a project custom field (Administration > Custom fields > Project) named Rocketchat Channel. If no custom channel is defined for a project, the parent project will be checked (or the default will be used). To prevent all notifications from being sent for a project, set the custom channel to -.

For more information, see http://www.redmine.org/projects/redmine/wiki/Plugins (see also next section for an easy configuration demonstration).

Screenshot Guided Configuration

Step 1: Create an Incoming Webhook in Rocket.chat (Account Settings > Integrations > Incoming Webhooks).

step1

Step 2: Install this Redmine plugin for Rocket.chat.

step2

Step 3: Configure this Redmine plugin for Rocket.chat. For per-project customized routing, leave the Rocket.chat Channel field empty and follow the next steps, otherwise all Redmine projects will post to the same Rocket.chat channel. Be careful when filling the channel field, you need to input the channel's handle, not the display name visible to users. You can find each channel's handle by going inside the channel and click the down-arrow and selecting view info.

step3

Step 4: For per-project customized routing, first create the project custom field (Administration > Custom fields > Project).

step4a step4b

Step 5: For per-project customized routing, configure the Rocket.chat channel handle inside your Redmine project.

step5

Credits

The source code is forked from https://github.com/altsol/redmine_mattermost with minor adjustments for Rocket.chat, the redmine_mattermost project was forked from https://github.com/sciyoshi/redmine-slack. Special thanks to the original author and contributors for making this awesome hook for Redmine. This fork is just refactored to use Rocket.chat-namespaced configuration options in order to use multiple hooks (Rocket.chat, Mattermost and Slack) in a Redmine installation and make the announcements Rocket.chat friendly.

redmine_rocketchat's People

Contributors

scantem avatar thanosk avatar

Watchers

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