Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support
GitKraken Status  

Reindex GET API

Use this method to track messages for a particular thread.

  1. Jira administrators
  2. Jira user who has all of the following:
    1. View/browse permissions to the project;
    2. View Development Tools permissions to the same project; and
    3. The repository is associated to the project.

 

url

{JiraBaseURL}/rest/gitplugin/1.0/index.json

method

GET

parameters

Field Description
threadID Required.

Indexer thread ID (UUID). Query parameter.

Example:
eafe58fc-d8de-42ff-8815-6fe5860b38d2

repoId Integer. Optional.

When the repoId field is empty, the API will fetch the reindex status for all repositories. Providing an integer value will retrieve the reindex status for a particular repository.

response

JSON

Example:

http://jira.yourorg.com/rest/gitplugin/1.0/index.json?threadId=eafe58fc-d8de-42ff-8815-6fe5860b38d2&repoId=113

Response:
{
    "success":true,
    "finished":true,
    "threadId":172,
    "messages": {
        "Indexing test-repo":100.0
    },
    "errors": {},
    "lastOperationPercent":100.0
}

 

Reindex REST APIs

Reindex POST API (Git Integration for Jira Data Center)

Reindex GET API (this page)

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