|
| 1 | +--- |
| 2 | +title: GitLens Troubleshooting |
| 3 | +description: GitLens Troubleshooting |
| 4 | +taxonomy: |
| 5 | + category: gitlens |
| 6 | +--- |
| 7 | + |
| 8 | +## Enable showing Bitbucket pull request for a commit |
| 9 | + |
| 10 | +GitLens can show a Pull Request for a commit for a connected integration. But Bitbucket [requires](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-commit-commit-pullrequests-get) |
| 11 | +a Pull Request Commit Links app to be installed in the workspace to enable this feature. |
| 12 | + |
| 13 | +It's not a real application that can be seen in workspace settings, it's rather an internal service that Bitbucket activates after some event, |
| 14 | +so for a user it is just a part of the Bitbucket service. |
| 15 | + |
| 16 | +To enable this feature, you need to visit any commit in the Bitbucket UI and click on the "Pull requests" link in the "Apps" section at the bottom-right of the page: |
| 17 | + |
| 18 | +<img src="/wp-content/uploads/gl-troubleshooting-bitbucket-pr-commit-links.png" class="help-center-img img-bordered"> |
| 19 | + |
| 20 | +The click makes the application is activated and its takes some time for Bitbucket to index data on their side. |
| 21 | +After that PullRequests for commits will be shown in GitLens: |
| 22 | + |
| 23 | +<img src="/wp-content/uploads/gitlens-troubleshooting-bitbucket-pr-on-a-commit.png" class="help-center-img img-bordered"> |
0 commit comments