-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Administration
-
None
-
2
Problem Definition
In certain conditions, the Jira indexes may become inconsistent leading to a difference in the Pull request overview in the Development Panel and the details (available when clicking on the Pull request link).
These inconsistencies can be resolved by running the following re-index:
curl -v -u stash-admin -p -H "Accept: application/json" -H "Content-Type: application/json" -d "{}" <BITBUCKET_BASE_URL>/rest/jira-dev/1.0/projects/<PROJECT_KEY>/repos/<REPO_SLUG>/reindex?withCommits=true
- For usage convenience is it possible to convert the operation to a menu in the administration section.
- It will spare the user the time to troubleshoot the rest call issues (XSRF token missing) as an example