Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13097

Branches/PR links in the Jira development information panel does not show any data after upgrade to 7.19

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 7.19.2
    • 7.19.0, 7.19.1
    • Integration - JIRA
    • None

    Description

      Issue Summary

      After upgrading Bitbucket to 7.19.0/7.19.1, the Jira development information panel does not show the branches and PRs associated with a particular issue. This is due to a misbehaving upgrade task that has deleted the AO_777666_JIRA_INDEX and AO_777666_UPDATED_ISSUES tables. However, getting the commits from the Jira development information panel will work correctly. 

      Steps to Reproduce

      1. Pre-upgrade: create a PR with an issue key in the title and confirm it shows up correctly in Jira
      2. Upgrade to 7.19.0/7.19.1
      3. Click on PR link in Jira development information panel

      Expected Results

      Expect to see the linked PR in the modal.

      Actual Results

      The modal shows an error message: "You don't have access to view all related pull requests. Please contact your administrator."

      Workaround

      The data has been deleted from the database, you can reindex the repository to recreate this data through sending a POST request to this endpoint:

      {bitbucket_base_url}/rest/jira-dev/latest/projects/{project_key}/repos/{repo_slug}/reindex

      There is also a python script attached which will go through all the repositories in the instance and reindex them: reindexScript.py

      python3 reindexScript.py bitbucketBaseUrl username

      Attachments

        Issue Links

          Activity

            People

              miwalker Michael Walker
              akaria@atlassian.com Aditya Karia
              Votes:
              9 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: