I raised a support call for this (JSP-80777) and I got a workaround for now.... pasted below
After spend few hours on digging into the JIRA files, apparently this is non JSP/VM controlled. Its coded at JIRA source code, inside DefaultReindexMessageManager.java below:
public synchronized String getMessage(final User user)
{
if (propertiesReference.get().exists(PS_KEY_USER))
{
final String userName = propertiesReference.get().getString(PS_KEY_USER);
final String i18nTaskKey = propertiesReference.get().getString(PS_KEY_TASK);
final Date time = propertiesReference.get().getDate(PS_KEY_TIME);
final I18nHelper i18n = i18nFactory.getInstance(user);
final OutlookDate outlookDate = outlookDateManager.getOutlookDate(i18n.getLocale());
String userFullName = userFormatManager.formatUser(userName, FullNameUserFormat.TYPE, "fullName");
String i18nTask = i18n.getText(i18nTaskKey);
String timeString = outlookDate.formatDMYHMS(time);
StringBuilder message = new StringBuilder();
message.append("<p>").append(i18n.getText("admin.notifications.task.requires.reindex", userFullName, i18nTask, timeString));
message.append("<p>").append(i18n.getText("admin.notifications.reindex.now", "<a href='" + getContextPath() + "/secure/admin/jira/IndexAdmin.jspa'>", "</a>"));
message.append("<p>").append(i18n.getText("admin.notifications.complete.all.changes"));
return message.toString();
}
return null;
}
This will required you to modify source code and you will need to build a JIRA patch to your production instance which is not recommended and NOT support by Atlassian Support as stated in our Support Policy.
Hence I recommend you another method which is to modify the warning message. You can find these message in parameters below in JiraWebActionSupport.propertie inside your language package.
You can refer to document below for more information on how to customizing it:
Yes, this is confusing to our users as well. Can something be done about this? Rather than rebuilding jira ourselves, I would rather get a fix from Atlassian for this.