Reindex POST API

Starts the reindex process in a separate thread and returns the result immediately.

There are two types of users who can perform the Reindex POST API call:

  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.

Reindex POST API

url

/rest/gitplugin/1.0/index.json

method

POST

parameters

Parameter

Condition

repoId

Array of Long. Repository ID.  Form parameter.

Example:

Form param (repoId: [133])

response

JSON

Example:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 http://jira.yourorg.com/rest/gitplugin/1.0/index.json Body, JSON(application/json): { "repoId": [133] } ----------------------- Response: { "success":true, "finished":true, "threadId": xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx }