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

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

      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

          Form Name

            [BSERV-13097] Branches/PR links in the Jira development information panel does not show any data after upgrade to 7.19

            Dyon Georgopoulos made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 727913 ]
            Tejaswini P made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 724179 ]
            Tejaswini P made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 724228 ]
            Martin Henschke made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 721449 ]
            Rob made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 662669 ]
            Aditya Karia made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 645103 ]
            Jarrod Price (Inactive) made changes -
            Description Original: h3. 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. 
            h3. Steps to Reproduce
             # Pre-upgrade: create a PR with an issue key in the title and confirm it shows up correctly in Jira
             # Upgrade to 7.19.0/7.19.1
             # Click on PR link in Jira development information panel

            h3. Expected Results

            Expect to see the linked PR in the modal.
            h3. Actual Results

            The modal shows an error message: "You don't have access to view all related pull requests. Please contact your administrator."
            h3. 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:
            {code:java}
            {base_url}/rest/jira-dev/latest/projects/{project_key}/repos/{repo_slug}/reindex{code}
            There is also a python script attached which will go through all the repositories in the instance and reindex them: [^reindexScript.py]
            {code:java}
            python3 reindexScript.py baseUrl username{code}
            New: h3. 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. 
            h3. Steps to Reproduce
             # Pre-upgrade: create a PR with an issue key in the title and confirm it shows up correctly in Jira
             # Upgrade to 7.19.0/7.19.1
             # Click on PR link in Jira development information panel

            h3. Expected Results

            Expect to see the linked PR in the modal.
            h3. Actual Results

            The modal shows an error message: "You don't have access to view all related pull requests. Please contact your administrator."
            h3. 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:
            {code:java}
            {bitbucket_base_url}/rest/jira-dev/latest/projects/{project_key}/repos/{repo_slug}/reindex{code}
            There is also a python script attached which will go through all the repositories in the instance and reindex them: [^reindexScript.py]
            {code:java}
            python3 reindexScript.py bitbucketBaseUrl username{code}
            Aditya Karia made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 614250 ]
            Michael Walker made changes -
            Assignee New: Michael Walker [ miwalker ]
            Naj Kagaoan made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 609467 ]

              miwalker Michael Walker
              akaria@atlassian.com Aditya Karia
              Affected customers:
              9 This affects my team
              Watchers:
              24 Start watching this issue

                Created:
                Updated:
                Resolved: