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

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 vote

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 https://docs.atlassian.com/jira/REST/server/#api/2/reindex

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 https://docs.atlassian.com/jira/REST/server/#api/2/reindex 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. 

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

294 views 38 9
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