-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
5.15.0
-
None
-
None
-
1
-
Severity 2 - Major
-
1
-
Summary
Upon running the cURL to reindex the Jira issue key on Bitbucket Server, all the pull request data are missing from AO_777666_JIRA_INDEX table thus Jira does not respond well for branch and pull request in the development panel.
Step to Reproduce
- Perform application link between Bitbucket Server v5.15.0 and Jira v7.12.3.
- Create project and repository on Bitbucket Server.
- Make first commit in the master branch. Then create a new branch called feature/development.
- Make the second commit on branch feature/development. Specify Jira's issue key(eg: SSPJ-101) in the commit message and push to the remote repository.
- Create a pull request from branch feature/development to master.
- In Jira, go to SSPJ-101 issue key and verify the Development panel information as it should link to branch feature/development, commit hash of the second commit and pull request.
- Run the reindex cURL command:
curl -v -u <admin> -p -H "Accept: application/json" -H "Content-Type: application/json" -d "{}" http://localhost:7990/rest/jira-dev/1.0/projects/<proj_key>/repos/<repo_slug>/reindex
Do not run this command in a production environment because it causes the Pull requests linked to Jira via an issue key in the commit message not to be displayed in the Development panel and in the details view.
Note
The commit link to the Development Panel, however, is not affected by the reindexing action.
Expected Results
The repository reindexes successful and able to communicate to Jira development panel and data in AO_777666_JIRA_INDEX not eased.
Actual Results
The data in AO_777666_JIRA_INDEX is eased and mess-up the Jira development panel.
Workaround
The changes in pull request's state trigger index that allow the development panel to be updated. For example, if an OPEN pull request is not present on Jira's Development Panel, changing the pull request state to DECLINED and change it back to OPEN would reindex the changes and update the Jira's Development Panel to have both branches and pull requests link.
- duplicates
-
BSERV-10578 As an admin, I would like to be able to reindex the Jira indexes including the Jira keys included in the commit messages
- Closed
- relates to
-
BSERV-10578 As an admin, I would like to be able to reindex the Jira indexes including the Jira keys included in the commit messages
- Closed