Git Integration for Jira Cloud Documentation

Microsoft webhook events

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

Microsoft doesn’t send a header by default. Integration type is detected from the payload.

Push Events

Property Value
Type "^push"
Request URI /api/1/webhook/reindex/install/<secret_key>/web
Content-Type application/json

Payload example:

{
  "eventType": "git.push",
  "resource": {
    "repository": {
      "id": "f0234cc5-5891-4044-a45e-c1d9d4b33562",
      "name": "TestWebHook",
      "url": "https://dev.azure.com/johnsmith/_apis/git/repositories/f0234cc5-5891-4044-a45e-c1d9d4b33562",
      "project": {
        "id": "f12f9cc9-387e-43f7-9023-e871c94bfebc"
      },
      "remoteUrl": "https://dev.azure.com/johnsmith/TestWebHook/_git/WebHook"
    }
  }
}

Pull Request Created Events

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

Payload example:

{
  "publisherId": "tfs",
  "eventType": "git.pullrequest.created",
  "resource": {
    "mergeId": "61ea7c1d-06bd-4bd4-80d4-64e63e5224b6",
    "_links": {
      "web": {"href": "https://dev.azure.com/jsmith0806/Webhooks/_git/Webhooks/pullrequest/1"}
    },
    "repository": {
      "sshUrl": "[email protected]:v3/jsmith0806/Webhooks/Webhooks",
      "webUrl": "https://dev.azure.com/jsmith0806/Webhooks/_git/Webhooks",
      "name": "Webhooks",
      "remoteUrl": "https://dev.azure.com/jsmith0806/Webhooks/_git/Webhooks"
    },
    "pullRequestId": 1,
    "title": "PROJ-4: Merge test-branch to master"
  }
}

Pull Request Updated Events

Property Value
Type "^git.pullrequest.updated$"
Request URI /api/1/webhook/reindex/install/<secret_key>/web
Content-Type application/json

Payload example:

{
  "publisherId": "tfs",
  "eventType": "git.pullrequest.updated",
  "resource": {
    "mergeId": "61ea7c1d-06bd-4bd4-80d4-64e63e5224b6",
    "_links": {
      "web": {"href": "https://dev.azure.com/jsmith0806/Webhooks/_git/Webhooks/pullrequest/1"}
    },
    "repository": {
      "sshUrl": "[email protected]:v3/jsmith0806/Webhooks/Webhooks",
      "webUrl": "https://dev.azure.com/jsmith0806/Webhooks/_git/Webhooks",
      "name": "Webhooks",
      "remoteUrl": "https://dev.azure.com/jsmith0806/Webhooks/_git/Webhooks"
    },
    "pullRequestId": 1,
    "title": "PROJ-4: Merge test-branch to master"
  }
}

 

Related Webhook Events

Last updated: December 2025

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