If the plugin doesn't work on 5.0.4 another option might be a Jelly script scheduled via a service as mentioned in the comments at https://confluence.atlassian.com/display/JIRA/Re-Indexing+after+Major+Configuration+Changes
Since JIRA 6.1, it is possible to trigger a re-index via the REST API:
If you wish to schedule it for a particular time of the day, you may create a script which triggers the re-index via the REST API during the scheduled time (e.g. via a cron job).
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG