Skip to content

Webhooks

Webhooks are triggers in your platform. They activate when certain actions happen, such as when an issue or work item is updated. Webhooks send information back to Zendesk through Git-Zen. When you act in your platform, the webhook sends basic information about the action to Git-Zen. Git-Zen then finds any related Zendesk tickets and updates them.

Add a webhook to each GitHub repository you want to use with Git-Zen. For more about webhooks in GitHub, see the GitHub documentation.

Activate the webhooks as part of your initial installation and setup.

When you activate webhooks in Git-Zen, only the active repositories, projects, or teams appear in the drop-down lists when you create or link issues or work items. Only activate the ones you want your agents to work with.

In Lite, you can activate at most 10 repositories or projects.

You can activate the webhooks you need in the Git-Zen app.

  1. Click the Webhooks icon in the Git-Zen menu bar.
  2. Git-Zen lists your available repositories, projects, or teams. Select the ones you want to be active for Git-Zen.
  3. Click Save Changes.
The Webhooks icon in the menu bar
The list of GitHub repositories

Repositories with non-admin access. If you are not an admin of a repository, you can still activate it. But Git-Zen does not have permission to add the webhook. A user with admin access to the repository must add the webhook manually. Git-Zen marks repositories you cannot administer with a yellow exclamation point.

A yellow exclamation point next to a repository

Some Git-Zen users do not create an OAuth user token, or their company security policy forbids it. In that case, you must create the webhooks by hand in your platform. This applies to GitHub, GitLab, and Azure DevOps. Git-Zen creates the Linear webhook during authorization, so you do not need a manual webhook for Linear.

To start, click the Help menu at the top of the Git-Zen app. Find the section titled Manual platform Configuration. Only Zendesk administrators see it. It shows a unique webhook URL (or, for Azure DevOps, two URLs). Copy the URL. Git-Zen uses the same URL for every repository or project.

The Help menu
The Manual GitHub Configuration section

In GitHub:

  1. Sign in and select the repository.
  2. Click Settings in the top repository menu.
  3. Click Webhooks in the left panel.
  4. Click Add webhook.
  5. Paste the URL in the Payload URL field.
  6. Select application/json as the content type.
  7. Leave the Secret field blank.
  8. Leave SSL verification set to Enable SSL verification.
  9. Select Let me select individual events. Check these events: Commit comments, Issues, Issue comments, Pushes, Releases. Git-Zen needs Releases for release notifications.
  10. Leave Active checked.
  11. Click Add webhook.

Repeat for each repository you want to use with Git-Zen.