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,
--Bibin
hello @bibin.koshy .
you should be able to do as indicated on this doc :
https://confluence.atlassian.com/adminjiraserver073/search-indexing-861253852.html
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 ?
Thanks,
--Bibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
--Bibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello @bibin.koshy .
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.