April 30th 1 PM ET

Git Integration for Jira Cloud Documentation

Creating indexing triggers for a single repository

Create an indexing trigger that can be initiated for any individual repository. It can be used with continuous integration service.

Required headers:

  • ‘x-bbb-webhook-type’: push

  • ‘Content-Type’: application/json

Optional headers:

  • x-bbb-webhook-id — Can be any string representing the id of the request to be used.

Usage examples:

curl -H 'x-bbb-webhook-type: push' -H 'content-type: application/json' -X POST -d @payload.json https://webhook/url
curl -H 'x-bbb-webhook-type: push' -H 'x-bbb-webhook-id: id-string' -H 'content-type: application/json' -X POST -d @payload.json https://webhook/url

Payload.json

{
    "origin": "repository-origin"
}
Have feedback about this article? Did we miss something? Let us know!
On this page