Rest api for Project reindex in jira

Hi Team,

We would like to trigger reindex for a specific JIRA project remotely. We know we can reindex JIRA using rest API, but we need api for Reindexing project.

So can you please help us with the Rest API for Reindexing a Project.

2 answers

1 accepted

0 votes
Volodymyr Krupach Community Champion Jan 02, 2017

Hi Aswini,

There is no such. Although the server version of the REST API docs for POST /rest/api/2/reindex/issue says:

> Use either explicitly specified issue IDs or a JQL query to select issues to reindex.
there is no such param in the docs and I just tried few possible combinations via a rest client.

So the only way is to crate REST Plugin Module that calls JAVA JIRA API to start reindexing for the project. This make sense only for the sever version since there is no way to expose own REST points through the cloud addons.

Thank you so much for your quick response. We will look for a solution from JAVA JIRA API to perform reindexing for Project.

I have another query.. Is there any possible way for getting workflow details, I mean details on how many projects are sharing a workflow.

So do we have any REST api for getting those project details, if in case the workflow is shared between multiple projects.

Volodymyr Krupach Community Champion Jan 02, 2017

Unfortunately I am not aware of such method. Also scanning of the REST docs did not give me the answer. Please add it as a new question so maybe someone can answer it.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

259 views 0 12
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
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