Git Integration for Jira Server/Cloud
Hook and API Reference

Welcome to the Git Integration for Jira add-on hooks and API reference page.

On this page, you will find the list of available hooks, webhooks and APIs supported by the Git add-on.  Click on a topic title to view its content.

Hooks

The Commit-msg Hook

The commit-msg hook is a python script file that must be located in the developer's local repository.

 

The Server-side Hook

Use server-side hooks to apply policies for your project.  The server runs these scripts before and after the push.  The server-side hook, like commit-msg hook, requires Python to be installed.

Webhooks

Webhook

Trigger immediate reindex of your repositories from remote systems via webhooks.

REST APIs

Bulk Change

The bulk change API extends the possibility of importing and exporting repository configuration by automating the process via scripts.

 

Repository

The Repository REST API allows query of the project repository list; as well as adding, updating and deleting repositories from the Git add-on repository configuration.

 

Reindex

Call the Reindex REST API to have more control on indexing.

  • Reindex POST  –  Starts the reindex process in a separate thread and returns the result immediately.
  • Reindex GET  –  Use this method to track messages for a particular thread.

Commits

  • Get Commits  –  Call the Get Commits API to obtain commit information associated with an issue.
  • showFiles Commits  –  Extend the Commits API to review which files changed related to a specific Jira issue.

Branches

Gets list of branches associated to a ticket.

Tags

Returns several latest tags for the issue.  Tags are sorted in chronological order from newest to oldest.

Get new product notifications and feature updates from BigBrassBand LLC.