It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can you perform automatic/manual Re-Indexing on Jira (Software) server?

Hi Community,

Might be a silly question but i am quite new to Jira. Would there be a command to enable re-indexing on Jira using Linux terminal? I am removing the whole of index directory and got to learn that when you re-boot Jira instance the re-indexing is not automatically done? 

Kind Regards,


1 answer

Hi @robert_Mugabuhamye ,

Thank you for the doc. But is there a code that could be used to automatically enable re-indexing rather than manually going through the GUI ?



Hi @robert_Mugabuhamye 

See this doc.

I would like to use this API call specified on this doc to re-index jira server through linux terminal.

The only issue is that i am getting "authentication failure" when i try and get this working. I just use root without any password, so stuck on how to run this...

curl -u root:password -X POST $JIRAURL/rest/api/2/reindex?type=FOREGROUND

Kind regards,


hello .
i just tried the command using postman (basic authentication) and in command line both worked

curl -u robert.mugabuhamye:PASSWORD -X POST "http://localhost:8080/rest/api/2/reindex"

make sure the user/password you are using is jira administrators.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Cloud Cafe Ep. 1: Getting started with the Atlassian ecosystem

Welcome to Cloud Cafe – our video series about cloud app development on Atlassian. ✨ Ever heard the term Atlassian ecosystem and wondered just exactly what it meant? Grab a cup of ☕ and join ...

50 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you