Coder Social home page Coder Social logo

pm2mattermost's Introduction

OpenProject Mattermost Plugin

OpenProject plugin which allows listening some events (changing tasks status and adding/editing messages) and sends corresponding messages to Mattermost chat rooms.

Here is manual how to activate mattermost hooks.

Install

To include the new plugin into OpenProject, you have to add it into Gemfile.plugins like any other OpenProject plugin. Add the following lines to Gemfile.plugins:

group :opf_plugins do
  gem "openproject-mattermost", git: "https://github.com/zaproo/pm2mattermost.git", :branch => "master"
end

After that run

bundle install
rake db:migrate

More information about OpenProject plugins you can get here.

After installing plugin go to the project settings page and on Modules tab activate Mattermost Settings option. After this you'll see Mattermost Settings menu (right underneath Project Settins) where you can set outcoming hook urls, enable tracking some events. Go to global plugin page for adjusting openproject to mattermost user syncronization table and set incoming hooks tokens.

Incoming hooks (use POST method for all hooks)

  • add message to task
http://[your-openproject-domain]/pm2mattermost/message
/pm [task_id] [message_text]
  • view tasks list (current user is used if user is not specified in the command)
http://[your-openproject-domain]/pm2mattermost/tasks-list
/pmlist [mattermost_user_login]
/pmlist
  • change task status
http://[your-openproject-domain]/pm2mattermost/update-task-status
/pmstatus [task_id] [open_project_status_name]
  • change task assignee
http://[your-openproject-domain]/pm2mattermost/update-task-assignee
/pmassign [task_id] [mattermost_user_login]
  • view task description
http://[your-openproject-domain]/pm2mattermost/project-description
/pmdesc [task_id]

pm2mattermost's People

Contributors

zaproo-support avatar

Watchers

 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.