Git Product home page Git Product logo

rdmo-plugins-openproject's Introduction

rdmo-plugins-openproject

This plugin implements an issue provider for RDMO, which lets users push their tasks from RDMO to OpenProject work packages. The plugin uses OAUTH 2.0, so that users use their respective accounts in both systems.

Setup

Install the plugin in your RDMO virtual environment using pip (directly from GitHub):

pip install git+https://github.com/rdmorganiser/rdmo-plugins-openproject

Add the plugin to PROJECT_ISSUE_PROVIDERS in config/settings/local.py:

PROJECT_ISSUE_PROVIDERS += [
    ('openproject', _('OpenProject Provider'), 'rdmo_openproject.providers.OpenProject')
]

In addition, an โ€œAppโ€ has to be registered with the particular OpenProject instance. Go to /admin/oauth/applications on your OpenProject instance and create a new application with the callback URL https://<rdmo_url>/services/oauth/openproject/callback/ and the scope api_v3.

The client_id and the client_secret, together with the openproject_url, need to be configured in config/settings/local.py:

OPENPROJECT_PROVIDER = {
    'openproject_url': ''
    'client_id': '',
    'client_secret': ''
}

Usage

After the setup, users can add a OpenProject intergration to their projects. They need to provide the URL to the project and the type of work package, e.g. Task, Milestone. Afterwards, project tasks can be pushed to the OpenProject project.

Additionally, a secret can be added to enable OpenProject to communicate to RDMO when the status of a work package changed. For this, a webhook has to be added at https://<openproject_url>/admin/settings/webhooks/new (by an administrator). The webhook has to point to https://<rdmo_url>/projects/<project_id>/integrations/<integration_id>/webhook/ and the signature secret has to be exactly the secret entered in the integration.

rdmo-plugins-openproject's People

Contributors

jochenklar avatar

Watchers

 avatar Olaf Michaelis avatar David Wallace 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.