• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / Reference / REST API

reindex

Postman Collection
OpenAPI
GET

Get reindex information

Returns information on the system reindexes. If a reindex is currently taking place then information about this reindex is returned. If there is no active index task, then returns information about the latest reindex task run, otherwise returns a 404 indicating that no reindex has taken place.

Request

Query parameters

taskId

integer

Responses

Returns a representation of the progress of the re-index operation.

application/json

ReindexBean
GET/api/2/reindex
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/reindex' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Start a reindex operation

Kicks off a reindex. Need Admin permissions to perform this reindex.

Request

Query parameters

indexChangeHistory

boolean

type

string

indexWorklogs

boolean

indexComments

boolean

Responses

Returns a representation of the progress of the re-index operation.

application/json

ReindexBean
POST/api/2/reindex
1 2 3 4 curl --request POST \ --url 'http://{baseurl}/rest/api/2/reindex' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Reindex individual issues

Reindexes one or more individual issues. Indexing is performed synchronously - the call returns when indexing of the issues has completed or a failure occurs.

Request

Query parameters

issueId

array<string>

indexChangeHistory

boolean

indexWorklogs

boolean

indexComments

boolean

Responses

Returns response indicating reindex time.

application/json

ReindexBean
POST/api/2/reindex/issue
1 2 3 4 curl --request POST \ --url 'http://{baseurl}/rest/api/2/reindex/issue' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
GET

Get reindex progress

Returns information on the system reindexes. If a reindex is currently taking place then information about this reindex is returned. If there is no active index task, then returns information about the latest reindex task run, otherwise returns a 404 indicating that no reindex has taken place.

Request

Query parameters

taskId

integer

Responses