Name: plugin-bitbucket-webhook
Owner: Kanboard
Description: Bitbucket Webhook Plugin for Kanboard
Created: 2016-01-08 00:28:40.0
Updated: 2018-04-13 17:37:04.0
Pushed: 2018-04-13 17:37:03.0
Homepage:
Size: 24
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Bitbucket Webhook
Bind Bitbucket webhook events to Kanboard automatic actions.
Author
- Frederic Guillot
- License MIT
Requirements
- Kanboard >= 1.0.37
- Bitbucket webhooks configured for a project
Installation
You have the choice between 3 methods:
- Install the plugin from the Kanboard plugin manager with one click
- Download the zip file and decompress everything under the directory
plugins/BitbucketWebhook
- Clone this repository into the folder
plugins/BitbucketWebhook
Note: Plugin folder is case-sensitive.
Documentation
List of supported events
- Bitbucket commit received
- Bitbucket issue opened
- Bitbucket issue closed
- Bitbucket issue reopened
- Bitbucket issue assignee change
- Bitbucket issue comment created
List of supported actions
- Create a task from an external provider
- Change the assignee based on an external username
- Create a comment from an external provider
- Close a task
- Open a task
Configuration
- On Kanboard, go to the project settings and choose the section Integrations
- Copy the Bitbucket webhook URL
- On Bitbucket, go to the project settings and go to the section Webhooks
- Choose a title for your webhook and paste the Kanboard URL
Examples
You have to create some automatic actions in your project to make it work:
Close a Kanboard task when a commit pushed to Bitbucket
- Choose the event: Bitbucket commit received
- Choose action: Close the task
When one or more commits are sent to Bitbucket, Kanboard will receive the information, each commit message with a task number included will be closed.
Example:
- Commit message: “Fix bug #1234”
- That will close the Kanboard task #1234
Add comment when a commit received
- Choose the event: Bitbucket commit received
- Choose action: Create a comment from an external provider
The comment will contain the commit message and the URL to the commit.