Skip to content

Add GitLens troubleshooting guide for Bitbucket pull requests #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions gitlens/gitlens-troubleshooting.md
Original file line number Diff line number Diff line change
@@ -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:

<img src="/wp-content/uploads/gl-troubleshooting-bitbucket-pr-commit-links.png" class="help-center-img img-bordered">

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:

<img src="/wp-content/uploads/gitlens-troubleshooting-bitbucket-pr-on-a-commit.png" class="help-center-img img-bordered">