diff --git a/_images/gl-troubleshooting-bitbucket-pr-commit-links.png b/_images/gl-troubleshooting-bitbucket-pr-commit-links.png new file mode 100644 index 0000000..fa56331 Binary files /dev/null and b/_images/gl-troubleshooting-bitbucket-pr-commit-links.png differ diff --git a/gitlens/gitlens-troubleshooting.md b/gitlens/gitlens-troubleshooting.md new file mode 100644 index 0000000..d56b9d6 --- /dev/null +++ b/gitlens/gitlens-troubleshooting.md @@ -0,0 +1,23 @@ +--- +title: GitLens Troubleshooting +description: GitLens Troubleshooting +taxonomy: + category: gitlens +--- + +## Enable showing Bitbucket pull request for a commit + +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) +a Pull Request Commit Links app to be installed in the workspace to enable this feature. + +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, +so for a user it is just a part of the Bitbucket service. + +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: + + + +The click makes the application is activated and its takes some time for Bitbucket to index data on their side. +After that PullRequests for commits will be shown in GitLens: + +