Git Integration for Jira Cloud Documentation

Bitbucket webhook events

This page documents the Bitbucket webhook event types that Git Integration for Jira Cloud supports.

Repository Push Events

Property Value
Type "^repo:push$"
Request URI /api/1/webhook/reindex/install/<secret_key>/web
Content-Type application/json
X-Event-Key repo:push

Payload example:

{
  "repository": {
    "full_name": "johnsmith/test-bitbucket",
    "name": "Test Bitbucket",
    "links": {
      "html": {"href": "https://bitbucket.org/johnsmith/test-bitbucket"}
    },
    "scm": "git",
    "type": "repository"
  }
}

Pull Request Created Events

Property Value
Type "^pullrequest:.*$"
Request URI /api/1/webhook/reindex/install/<secret_key>/web
Content-Type application/json
X-Event-Key pullrequest:created

Payload example:

{
  "pullrequest": {
    "destination": {
      "repository": {
        "full_name": "johnsmith/test-bitbucket",
        "name": "Test Bitbucket",
        "links": {
          "html": {"href": "https://bitbucket.org/johnsmith/test-bitbucket"}
        }
      },
      "branch": {"name": "P5-1-second-issue-for-progect5"}
    },
    "source": {
      "repository": {
        "links": {
          "html": {"href": "https://bitbucket.org/johnsmith/test-bitbucket"}
        }
      },
      "branch": {"name": "master"}
    },
    "type": "pullrequest",
    "title": "TES-1 Master",
    "close_source_branch": false,
    "state": "OPEN"
  }
}

Commit Comment Created Events

Property Value
Type "^repo:commit_comment_created$"
Request URI /api/1/webhook/reindex/install/<secret_key>/web
Content-Type application/json
X-Event-Key repo:commit_comment_created

Payload example:

{
  "comment": {
    "commit": {
      "links": {
        "html": {"href": "https://bitbucket.org/johnsmith/test-bitbucket/commits/6d32f7643bfffdea17e8c498454971508fbdd5b1"}
      },
      "hash": "6d32f7643bfffdea17e8c498454971508fbdd5b1"
    },
    "id": 8917242,
    "type": "commit_comment",
    "content": {
      "markup": "markdown",
      "raw": "Comment",
      "html": "<p>This is a comment</p>",
      "type": "rendered"
    }
  }
}

 

Related Webhook Events

Last updated: December 2025

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