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
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

214 views 6 0
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