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,
Hi @robert Mugabuhamye
See this doc.
https://confluence.atlassian.com/jirakb/reindex-jira-server-using-rest-api-via-curl-command-663617587.html?_ga=2.225356698.1460643556.1572270390-554649307.1572270390
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 @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.
It looks like you're new here. Sign in or register to get started.