Greetings all!
Is there any way of telling when Jira requires re-indexing via script or API?
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!
Dear @Emanuel Jianu ,
yes, Have a look at https://docs.atlassian.com/software/jira/docs/api/REST/8.5.3/#api/2/reindex-reindex
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.