REST API for reindex -/rest/api/2/reindex/request/{requestId} - How to get the request id

Where does JIRA stores all the task id related to reindexing both Project level and application level

1 answer

0 votes

In memory, as there's no use for the request id's outside the running process.

Thanks Nic,

Then for running above api, how can i get the requestId.


Our requirement is, if we want to check all the Project Index activities going on currently. Then can we do that.

I'm guessing you have not managed to find the documentation as you're asking this.  

Check the descriptions of the available calls in

Hi Nic,


Thanks i have seen these api's, by the problem is non of them is telling me the progress of Project Reindex task.


For GET /rest/api/2/reindex/request/{requestId}

What shoud be the request id, from where can i get it


For api/2/reindex/request 

its not showing me the details of on going project reindexing

Please, read the documentation, it clearly states how to get the ids and return a progress report.

I am sorry, i couldn't find how to get request id in below link Also i suspect these API is giving information on application level reindex. If i triger a BACKGROUND reindex and hit api/2/reindex/progress with the task id provided in URL, then only I get response. But if same is being done with Project Reindex, then no response.

Hmm.  I get told about project indexing when I run it.

Hi Nick,

Can you please help by being more elaborative. What exactly you tried. 

Did you get the details about Project Reindex by  api/2/reindex/progres and passing the task id given in the url 


No, the list of currently running index processes returned by the REST call for the list contains the id of any index process currently running.

I already checked that and that is what  i am trying to point out, in my case if i triger a Project Reindex and immediatly hit this REST API, i am not getting any id. 

  • When I trigger an re-index by api, I get the id back and can search for it.
  • triggering a re-index in the browser by system->re-index or project->re-index, I can guess the task-id form the browser-URI. If the browser is closed, the id is gone.
  • If I want to find out whether someone else in the system has started an re-index either for an project or the complete system, I am list.

So how can i find out whether there is an re-index running started by anyone in the system?

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 13 hours ago in Agile

Managing Projects in Several Jiras at the Same Time

Have you ever noticed that fixing specific problems might be a door opener for a bigger challenge, affecting a wider audience? This was exactly the case when we, as a service company working with mul...

64 views 0 9
Read article

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