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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

127 views 1 3
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