kanboard/plugin-gitlab-webhook

Name: plugin-gitlab-webhook

Owner: Kanboard

Description: Gitlab Webhook Plugin for Kanboard

Created: 2016-01-08 01:59:09.0

Updated: 2018-04-29 21:20:27.0

Pushed: 2018-04-13 17:27:17.0

Homepage:

Size: 31

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Gitlab Webhook

Build Status

Bind Gitlab webhook events to Kanboard automatic actions.

Author
Requirements
Installation

You have the choice between 3 methods:

  1. Install the plugin from the Kanboard plugin manager in one click
  2. Download the zip file and decompress everything under the directory plugins/GitlabWebhook
  3. Clone this repository into the folder plugins/GitlabWebhook

Note: Plugin folder is case-sensitive.

Documentation

Gitlab events can be connected to Kanboard automatic actions.

List of supported events
List of supported actions
Configuration

Gitlab configuration

  1. On Kanboard, go to the project settings and choose the section Integrations
  2. Copy the Gitlab webhook url
  3. On Gitlab, go to the project settings and go to the section Webhooks
  4. Check the boxes Push Events, Comments and Issues Events
  5. Paste the url and save
Examples
Close a Kanboard task when a commit pushed to Gitlab

When one or more commits are sent to Gitlab, Kanboard will receive the information, each commit message with a task number included will be closed.

Example:

Create a Kanboard task when a new issue is opened on Gitlab

When a task is created from a Gitlab issue, the link to the issue is added to the description and the task have a new field named “Reference” (this is the Gitlab ticket number).

Close a Kanboard task when an issue is closed on Gitlab Reopen a Kanboard task when a closed issue is reopened on Gitlab Create a comment on Kanboard when an issue is commented on Gitlab

If the username is the same between Gitlab and Kanboard the comment author will be assigned, otherwise there is no author. The user also have to be member of the project in Kanboard.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.