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

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Fix Version/s: 6.3.0
    • Component/s: None
    • Labels:
      None
    • Feedback Policy:
      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.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bturner Bryan Turner
              Reporter:
              ccurti Caterina Curti
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: