How can i automate Jira Re-indexing ?

 

1 answer

0 vote

Script or plugin - I've used both in the past to trigger it.

However, the desire to do regular re-indexing is usually driven by the index going wrong regularly, which it should not.  This is indicative of another problem, and you REALLY should fix that, not plaster over the cracks.  That leads me to ask "why do you want to automate it?"

To give you some back ground and context, i have been developing a lot of projects and workflow changes in Jira.  This requires me to do re-indexing every time i make these changes.  I would like to where it just re-indexes once or twice month. I don't know as  best practice how often  you should re-index Jira.  What do you recommend ? Also because re-indexing is done late at night after hours, automating it would not require staying late watching it run.  

Best practice is: 1. When you are making changes to fields etc, that prompt the admins to get the "please reindex" box, you should re-index as soon as practically possible. So that your users can actually search for your newly changed stuff. I know there are issues with it - you don't want a full re-index during the working day, so maybe just re-index the affected project, or run a background one, or wait until time of low usage 2. You've done an upgrade or installed or removed a plugin that needs re-indexing - pretty much the same as above, but you should probably have booked downtime (especially for an upgrade) and included your indexing in that. 3. Any other reason you have for re-indexing - you have another issue that you need to fix

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 6 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

24 views 0 4
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you