Update Bitbucket webhooks to handle issues/commit/comments

This commit is contained in:
Frederic Guillot
2015-06-21 12:19:06 -04:00
parent 98fd34bfe3
commit d7a8160c2b
22 changed files with 1928 additions and 178 deletions

View File

@@ -33,7 +33,7 @@ List of available events
- Move a task to another position in the same column
- Task modification
- Task creation
- Open a closed task
- Reopen a task
- Closing a task
- Task creation or modification
- Task assignee change
@@ -47,23 +47,35 @@ List of available events
- Gitlab issue opened
- Gitlab issue closed
- Gitlab commit received
- Bitbucket commit received
- Bitbucket issue opened
- Bitbucket issue closed
- Bitbucket issue reopened
- Bitbucket issue assignee change
- Bitbucket issue comment created
List of available actions
-------------------------
- Close the task
- Open a task
- Assign the task to a specific user
- Assign the task to the person who does the action
- Duplicate the task to another project
- Move the task to another project
- Move the task to another column when assigned to a user
- Move the task to another column when assignee is cleared
- Assign a color when the task is moved to a specific column
- Assign a color to a specific user
- Assign automatically a color based on a category
- Assign automatically a category based on a color
- Create a comment from an external provider
- Create a task from an external provider
- Add a comment log when moving the task between columns
- Change the assignee based on an external username
- Change the category based on an external label
- Create a comment from an external provider
- Automatically update the start date
- Move the task to another column when the category is changed
- Send a task by email to someone
Examples

View File

@@ -7,11 +7,20 @@ 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
-------------
@@ -20,9 +29,8 @@ Configuration
1. On Kanboard, go to the project settings and choose the section **Integrations**
2. Copy the Bitbucket webhook url
3. On Bitbucket, go to the project settings and go to the section **Hooks**
4. Select the service **POST**
5. Paste the url and save
3. On Bitbucket, go to the project settings and go to the section **Webhooks**
4. Choose a title for your webhook and paste the Kanboard url
Examples
--------
@@ -38,3 +46,10 @@ 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 the action: **Create a comment from an external provider**
The comment will contains the commit message and the url to the commit.