Project Webhook
User can configure project-level webhooks to let Bytebase post messages to the configured webhook endpoint upon various events.
Supported events
Issue creation
- Post message when issue belonging to the configured project has been created.Issue status change
- Post message when the status of the issue belonging to the configured project has been changed.Issue stage status change
- Post message when issue's enclosing stage status has been changed.Issue task status change
- Post message when issue's enclosing task status has been changed.Issue info change
- Post message when issue's basic info such as assignee, title, description has been changed.Issue comment creation
- Post message when new comment added to the issue.
Supported webhook endpoints
Slack
Discord
Microsoft Teams
DingTalk
Feishu (Lark)
WeCom
WeCom does not provide its own official guide. Please follow this similar setup from Tencent Cloud instead.
Custom
Custom is used to integrate with your own services via webhook.
API Definition as follow:
-
HTTP Method
POST
-
Request Header
Key Value Description Content-Type
application/json
JSON content -
Request Body
Key Type Description level
String One of:
 ÂINFO
 ÂSUCCESS
 ÂWARN
 ÂERROR
activity_type
String One of:
 Âbb.issue.create
 Âbb.issue.comment.create
 Âbb.issue.field.update
 Âbb.issue.status.update
 Âbb.pipeline.task.status.update
title
String Webhook title description
String Webhook description link
String Webhook link creator_id
Integer Updater id creator_name
Integer Updater name created_ts
Integer Webhook create timestamp issue
Object Issue Object - id
Integer Issue ID - name
String Issue Name - status
String Issue Status, one of:
 ÂOPEN
 ÂDONE
 ÂCANCELED
- type
String Issue Type, one of:
 Âbb.issue.database.create
 Âbb.issue.database.schema.update
 Âbb.issue.database.schema.update.ghost
 Âbb.issue.database.data.update
- description
String Issue Description project
Object Project Object - id
Integer Project ID - name
String Project Name -
Response Body
Key Type Description code
String Zero if success, non-zero if failed message
String Some error message -
Response StatusCode
- 200, OK
- Other, if any error
Example Request Body
Example Response Body
- Success
- Failed