-
Bug
-
Resolution: Fixed
-
High
-
7.19.0, 7.19.1
-
None
-
Severity 1 - Critical
-
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
- 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
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
Remote Link | New: This issue links to "Page (Confluence)" [ 727913 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 724179 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 724228 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 721449 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 662669 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 645103 ] |
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} |
Remote Link | New: This issue links to "Page (Confluence)" [ 614250 ] |
Assignee | New: Michael Walker [ miwalker ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 609467 ] |