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
Accepted answer

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.

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
Published Tuesday in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

187 views 3 6
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