Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to tell when Jira requires re-indexing via script or API?

Emanuel Jianu February 17, 2020

Greetings all!

Is there any way of telling when Jira requires re-indexing via script or API?

2 answers

0 votes
Emanuel Jianu April 9, 2020

An enhancement request has been raised in regard to this:

https://jira.atlassian.com/browse/JRASERVER-70793

Please vote if you think you will find this useful. Thank you!

0 votes
Thomas Deiler
Community Champion
February 17, 2020
Emanuel Jianu February 21, 2020

Thank you for your response Thomas, but I am still uncertain which one of the methods I need.

The closest one I could see is this: POST /rest/api/2/reindex/request

But the description says:

"Executes any pending reindex requests. Returns a JSON array containing the IDs of the reindex requests that are being processed. Execution is asynchronous - progress of the returned tasks can be monitored through other REST calls."

Should I read the above description as  "it starts a Jira reindex only if a reindex request exist"? If that's the case what type of reindex does it start?

Maybe these are all silly questions, apologies for that if that's the case, my experience with Jira API is limited, and APIs in  general is limited.

Thomas Deiler
Community Champion
February 21, 2020

Dear @Emanuel Jianu ,

the API is limited for admin purpose. But anyway - just try out what happens. For sure the re-indexing will not ruin your system. If unsure, do it on a DEV environment, first.

So long

Thomas

Suggest an answer

Log in or Sign up to answer