Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.3.4, 6.4.1, 6.4.3, 9.4.12
-
6.03
-
6
-
Severity 3 - Minor
-
1
-
Description
Summary
A GET request on /rest/api/2/reindex does not return the status of the reindexing process
Steps to Reproduce
- Run Re-Indexing
- Send a GET request /rest/api/2/reindex to retrieve information about the reindex
Expected Results
Information about reindex is returned
{ "progressUrl": "/secure/admin/jira/IndexProgress.jspa?taskId=10007", "currentProgress": 11, "currentSubTask": "Currently working on: Issue index", "type": "BACKGROUND", "submittedTime": "2015-05-15T10:40:02.657+0800", "startTime": "2015-05-15T10:40:02.658+0800", "success": false }
Actual Results
The below exception is thrown in the response (Using POSTMAN REST client)
Notes
Quoted from the REST API documentation:
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.
Workaround
Use /rest/api/2/reindex/progress when reindex is progressing. However, this is only available from JIRA 6.4 onwards