KAZE

Help centre / Connections

Connecting GitHub, GitLab or Bitbucket

Link pull requests, commits, checks and reviews to the items they name.

Kaze links your code to your work by the item key. Put a key like PAY-26 in a branch name, a pull request title or description, or a commit message, and Kaze finds the item. It works the same with GitHub, GitLab (including your own GitLab server) and Bitbucket Cloud. GitLab calls a pull request a merge request.

Connect each repository separately. The Free plan connects one repository; paid plans connect as many as you need.

Set up GitHub

  1. In Kaze, go to Settings, Integrations, GitHub, Connect. Enter the repository as owner/name and make up a webhook secret of at least 16 characters.
  2. In GitHub, open the repository, then Settings, Webhooks, Add webhook.
  3. Payload URL: the address Kaze shows. Content type: application/json. Secret: the same secret.
  4. Choose Let me select individual events, and tick Pull requests, Pull request reviews, Check suites, Pushes and Issues.
  5. Save. GitHub sends a test straight away, and Kaze shows Connected under Recent deliveries.

Set up GitLab

  1. In Kaze, go to Settings, Integrations, GitLab, Connect. Enter the project path, such as acme/payments or acme/web/payments, and make up a secret token of at least 16 characters.
  2. In GitLab, open the project, then Settings, Webhooks, Add new webhook.
  3. URL: the address Kaze shows. Secret token: the same token.
  4. Tick Push events, Merge request events, Pipeline events and Issues events. Leave SSL verification on.
  5. Save, then choose Test, Push events. The delivery appears under Recent deliveries.

Set up Bitbucket

  1. In Kaze, go to Settings, Integrations, Bitbucket, Connect. Enter the repository as workspace/repository and make up a secret of at least 16 characters.
  2. In Bitbucket, open the repository, then Repository settings, Webhooks, Add webhook.
  3. URL: the address Kaze shows. Secret: the same secret.
  4. Choose from a full list of triggers. Tick Repository: Push, Build status created and Build status updated, and under Pull request: Created, Updated, Approved, Changes request created, Merged and Declined.
  5. Save, then push a branch. The delivery appears under Recent deliveries.

What happens

In your code hostIn Kaze
A pull request is opened that names an itemIt is linked to the item, and the item moves to In review
Checks, a pipeline or a build finishThe item shows Checks pass or Checks fail
A review approves or asks for changesThe item shows Approved or Changes asked. Nothing moves
The pull request is mergedThe item moves to Validation. A person still signs it off
Commits that name an item are pushedThey are listed on the item, with the files changed
An issue is opened (GitHub and GitLab)It arrives in the inbox

A team lead can turn off the automatic moves under Settings, Integrations.

Naming your work

Every item's Code section shows a branch name to copy, such as pay-26-show-vat-line-on-invoice-pdf, and a commit prefix, PAY-26: .

Linking by hand

If a pull request does not carry the key, open the item and choose Link a pull request by hand. Paste its address from GitHub, GitLab or Bitbucket. You can unlink it the same way.

Open Settings, Integrations and choose Recent deliveries on the connection. Each delivery says what Kaze did with it, or why it did nothing: no key found, a different repository, or an event Kaze does not use.