Git Integration for Jira Cloud Documentation

Adding webhooks for GitHub repository

Supported webhook events:

  • Pushes
  • Pull requests

Prerequisite: Enable indexing triggers in the Git Integration for Jira app before proceeding. See Indexing Triggers – Getting Started.

 

Configure GitHub Webhooks

  1. Log in to your GitHub account and select a repository.


  2. Go to SettingsWebhooks (sidebar).

  3. Click Add webhook.


  4. Configure the webhook:

    • Payload URL: Paste the Secret URL from Git Integration for Jira ➜ Indexing triggers page


    • Content type: Select application/json

    • Secret: Enter the Secret key from the Indexing triggers page

  5. Under Which events would you like to trigger this webhook?, select Just the push event for commits only.

  6. Leave Active enabled.

  7. Click Add webhook.

 

Enable Pull Request Webhooks

To receive both commit and pull request events:

  1. Go to your repository’s SettingsWebhooks.

  2. Edit your existing webhook or create a new one.

  3. Under Which events would you like to trigger this webhook?, select Let me select individual events.

  4. Enable both Pushes and Pull requests.


  5. Click Update webhook or Add webhook.

Event Trigger Options

Option Behavior Recommended
Just the push event Commits only For basic indexing
Send me everything All events (very verbose) Not recommended
Let me select individual events Choose Pushes + Pull requests Recommended for full functionality

 

Automatic Webhook Registration

Indexing triggers are automatically registered for each GitHub repository connected to Jira Cloud. For automatic registration to work, the connecting GitHub user must be:

  • The Organization Owner, OR
  • Have repository ADMIN rights
Indexing triggers for GitHub are deleted when you disconnect the GitHub integration from Git Integration for Jira Cloud.

Git Integration for Jira indexes only the repositories indicated by the GitHub organization webhook, not all repositories.

Last updated: December 2025

Have feedback about this article? Did we miss something? Let us know!
On this page