Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. 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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • 6.3.0
    • None
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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:

      <bitbucket URL>/rest/jira-dev/1.0/projects/<project key>/repos/<repository slug>/reindex
      

      This re-index deletes the index and recreates it including only the Jira issue keys from:

      • the pull request title
      • the branch name

      For performance reasons, the Jira issue keys are not added back to the index if they are from:

      • the commit message

      This 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.

      Suggested Solution

      Implement a way to force the re-index of the Jira issue keys included in the commit messages.

      This could be achieved for example by adding an additional parameter to the request URL. For example:

      withCommits=true
      

      Workaround

      Not available.

              bturner Bryan Turner (Inactive)
              ccurti Caterina Curti
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: