Access All Pull Requests Across Bitbucket Repositories

In Bitbucket, each user can access the list of pull requests for each repository but what if you want to see all the PRs across multiple projects and repositories?

Viewing pull requests (PRs) from multiple repositories on a single page can benefit various stakeholders, including:

  • Project Management: Teams can track the progress of multiple projects efficiently, managing resources and timelines effectively.

  • Developers: They can easily access and review PRs from different repositories, facilitating collaboration and ensuring code quality.

  • Quality Assurance Teams: Continuous integration processes can be monitored to ensure that changes are tested and integrated smoothly.

  • Team Leads and Managers: They can analyze pull request activity across repositories to gather insights on development trends and team performance.

  • New Team Members: They can quickly familiarize themselves with the codebase and ongoing work by reviewing PRs across repositories.

  • Code Reviewers: Ensuring adherence to coding standards and best practices across all projects becomes easier with a consolidated view of PRs.

 

In this article, I’ll share a Forge app that shows all the PRs across all the repositories a user has access to in a specific workspace.

 

App walkthrough

The All Workspace PRs link is added to each repository. When selected, it shows the page with all the PRs visible to the current user.

AllWorkspacePRs.jpg

 

By default, only the Open PRs are shown, but the filter selection can be changed to display PRs in a different state. The app also has an additional filter for reviewers, and additional filters can be added by updating the app with the desired options.

 

How can you access all the pull requests across Bitbucket repositories the repository? (in less than 5 minutes)

Here are the steps to follow:

  • Browse to any repository and open the All Workspace PRs page from the left-hand navigation menu

 

The YouTube video  shows how the app works in Bitbucket Cloud.

AllWorkspacePRs.jpeg

2 comments

Comment

Log in or Sign up to comment
josh-
Contributor
January 29, 2025

@Caterina Curti would the Bitbucket team be open to building "Global page" functionality into Bitbucket so this information could be surfaced in Bitbucket outside of the repository sidebar?

This would also be consistent with the jira:globalPage and confluence:globalPage modules in Atlassian's other products, and could also do what is described in the Bitbucket General Page connect module.

Like Caterina Curti likes this
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2025

Thanks @josh- for pointing that out. This has been raised a few days ago as a suggestion to the Bitbucket team, here is the link:
https://jira.atlassian.com/browse/BCLOUD-23558

 

I think you are already across this.

Caterina

Like josh- likes this
TAGS
AUG Leaders

Atlassian Community Events