Availability
This routine is available starting with katl-commons 2.5.13 / 2.6.5 / 4.0.15.
Syntax
admReindex([useBackgroundReindexing])
Description
Triggers a re-index for all issues across a Jira instance. Starting with katl-commons 4.0.15 you can also specify an optional useBackgroundReindexing parameter to run re-index in the background.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
useBackgroundReindexing | boolean | No | true - re-index issues in background false or missing - lock JIRA and rebuild index |
Return type
number
Returns a number representing the duration of the re-index in milliseconds.
The routine is synchronous. Even though the task will be run on multiple threads, the current thread will be stuck inside the routine until the reiindex is done.
See also