Automatic periodic indexing


how can I set up or schedule an automatic JIRA indexing daily or weekly?

Thanks and regards



2 answers

0 votes

First, question why you think you want to index regularly.  You should only need to index when you've been changing certain field related information or when something goes badly wrong.  The request for "regular reindexing" usually means you've got a problem somewhere and you're trying to patch over the cracks - it's almost invariably completely the wrong answer.

Hi. The question is "why would anyone want to re-index on a schedule". An answer is that an indexed field is time-dependant. An example of this would be a custom field used to calculate an urgency score based on the current time and the due date. Judge for yourself whether that is a problem and there is a crack somewhere.

That's a perfectly good requirement, but scheduled re-indexing simply tells me that you've picked the wrong approach to dealing with it. Consider it this way - what you're effectively asking for is a count-down clock. That's fine, but constantly recalculating the current value is inefficient and wasteful. Just fix the end point and work relative to that. In your time-dependent JIRA field, you're asking for an "urgency score" to increase on the current time and due date. Wrong approach - given the current time and due date, you can calculate the score already (and if they change, you can recalculate) There is no need for scheduled indexing in JIRA. If you're asking for it, you are either plastering over something that is broken, or you have got the wrong answer to working with time-dependent fields.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,118 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot