View, filter, and open pull requests - Azure Repos (2024)

  • Article

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

Visual Studio 2019 | Visual Studio 2022

You create pull requests (PRs) to review and merge code changes in a Git repository on Azure Repos. Team members and stakeholders can review changes and give feedback before merging the code into the target branch. Reviewers can also comment on changes and vote to approve or reject the code.

Teams can require PRs for any changes on protected branches, and set branch policies to require certain PRs to meet specific criteria.

There are several ways to list, filter, view, and open PRs for a project.

Prerequisites

  • Repos must be enabled on your project. If the Repos hub and associated pages don't display, see Turn an Azure DevOps service on or off to reenable Repos.
  • To view PRs, you must be a member of the Azure DevOps project with Basic access or higher. If you aren't a project member, get added.
  • For more information about permissions and access, see Default Git repository and branch permissions and About access levels.
  • In Azure DevOps Services, you can manage PRs and other resources from the Azure command-line interface (CLI) with the azure-devops extension. To learn how to work with the Azure DevOps Services CLI, see Get started with Azure DevOps CLI. Azure Repos CLI commands for PRs use az repos pr.

List pull requests

You can list PRs by using the Azure DevOps project website, Visual Studio, or the Azure DevOps command line.

  • Browser
  • Visual Studio
  • Azure DevOps CLI
  1. To list PRs in a specific repository in a project, go to that project in the web portal and select Repos > Pull requests.

    View, filter, and open pull requests - Azure Repos (1)

  2. Verify that you selected the correct repository.

    View, filter, and open pull requests - Azure Repos (2)

  3. The default view shows your PRs under the Mine tab. Select Active to show all active PRs for the current repository. Select Completed or Abandoned to bring up lists of closed PRs.

    Select any PR in the list to go to that PR's Overview page.

    View, filter, and open pull requests - Azure Repos (3)

  4. You can list all of your PRs across different projects in your organization by choosing Pull requests in the My Work view.

    View, filter, and open pull requests - Azure Repos (4)

Define a custom pull request view

Filtering the PR list helps you find and organize PRs to prioritize the most important files in your workflow.

  • Browser
  • Visual Studio
  • Azure DevOps CLI

To filter the PR list, on the Pull requests page, select the Filter icon at upper right. Then select Target branch or other column header, and select the branch or other value you want to filter on.

To further customize your view of the PR list, select Customize view at upper right on the Pull requests page.

View, filter, and open pull requests - Azure Repos (5)

On the Customize view page, you can rearrange the current view sections, edit them, or remove them. To create a new section, select Add section.

View, filter, and open pull requests - Azure Repos (6)

On the Customize section page, enter and select values to filter the section by parameters like draft state or updated date. You can choose whether to Show pull requests I've approved or rejected on a separate tab, or Exclude pull requests (duplicates) included in previous sections. When you finish customizing the view, select Save.

View, filter, and open pull requests - Azure Repos (7)

These customized views create separate, collapsible sections on the pull request page. These custom queries also work across repositories on the My pull requests tab of the organization home page.View, filter, and open pull requests - Azure Repos (8)

To change the parameters of the customized views, select the Customize button next to the view. Or select Customize view, and on the Customize view screen, select the view you want to change. Some views, like Assigned to me, can't be customized, but they can be rearranged or removed.

On a PR Files tab, you can use several filters to select files and comments for faster reviews. Select Filter, and then select among the options.

View, filter, and open pull requests - Azure Repos (9)

  • Keyword: Enter a keyword.
  • Reviewed/Unreviewed: All (default), Pending, Reviewed.
  • Commented files: All files (default), Files with comments.
  • Comments: Show (default), What's new, Hide.
  • Comment status: Active (default), Pending, Resolved, As designed, Won't fix, Closed.
  • Commented by: All comments (default), or a specific person.

You can also type a string into the Search field to show matching results from the preceding options.

Open a pull request

When you open a PR from the browser, from Visual Studio, or from Azure CLI, the PR Overview page opens in the browser.

  • Browser
  • Visual Studio
  • Azure DevOps CLI

To open a PR in the browser, select the PR from the list on the Pull requests page. The PR opens to its Overview tab. The Overview tab shows the PR title, description, reviewers, linked worked items, history, and status. You can see a summary of branch policies that are passing or failing, and see comments reviewers have made.

View, filter, and open pull requests - Azure Repos (10)

On the PR Files tab, you can review the actual changes in the PR files. On the Updates and Commits tabs, you can see changes the author has made to update the PR branch.

To review changes, make comments or suggestions, or approve or vote on the PR, see Review pull requests.

View and update pull requests from a mobile device

You can use mobile devices to view all Azure Repos PR screens and take actions.

View, filter, and open pull requests - Azure Repos (11)

Next steps

Review pull requests

Related articles

  • Create a pull request
  • Pull request update notifications
  • Complete a pull request
  • Change the default branch
  • Copy changes with cherry-pick
  • About pull requests and permissions
View, filter, and open pull requests - Azure Repos (2024)
Top Articles
5 Million Bitcoins (BTC) to US Dollars (USD) - Currency Converter
How to Know When to Sell Crypto - 1883 Magazine
Dainty Rascal Io
Top 11 Best Bloxburg House Ideas in Roblox - NeuralGamer
CLI Book 3: Cisco Secure Firewall ASA VPN CLI Configuration Guide, 9.22 - General VPN Parameters [Cisco Secure Firewall ASA]
Blairsville Online Yard Sale
Samsung 9C8
Achivr Visb Verizon
Top Golf 3000 Clubs
Gina's Pizza Port Charlotte Fl
Unit 1 Lesson 5 Practice Problems Answer Key
What is the difference between a T-bill and a T note?
Hijab Hookup Trendy
Hca Florida Middleburg Emergency Reviews
Wicked Local Plymouth Police Log 2022
8664751911
Publix Super Market At Rainbow Square Shopping Center Dunnellon Photos
Aol News Weather Entertainment Local Lifestyle
Brbl Barber Shop
F45 Training O'fallon Il Photos
Hctc Speed Test
Annapolis Md Craigslist
Kuttymovies. Com
The Procurement Acronyms And Abbreviations That You Need To Know Short Forms Used In Procurement
Things to do in Pearl City: Honolulu, HI Travel Guide by 10Best
Play It Again Sports Forsyth Photos
Dailymotion
Kiddie Jungle Parma
100 Million Naira In Dollars
Citibank Branch Locations In Orlando Florida
Japanese Pokémon Cards vs English Pokémon Cards
Cars And Trucks Facebook
Goodwill Thrift Store & Donation Center Marietta Photos
Atlantic Broadband Email Login Pronto
State Legislatures Icivics Answer Key
Myql Loan Login
Cheetah Pitbull For Sale
Gifford Christmas Craft Show 2022
Aurora Il Back Pages
Best Restaurants West Bend
Walmart Car Service Near Me
Hovia reveals top 4 feel-good wallpaper trends for 2024
6576771660
National Weather Service Richmond Va
Breaking down the Stafford trade
VerTRIO Comfort MHR 1800 - 3 Standen Elektrische Kachel - Hoog Capaciteit Carbon... | bol
New Zero Turn Mowers For Sale Near Me
Tyrone Unblocked Games Bitlife
How To Win The Race In Sneaky Sasquatch
28 Mm Zwart Spaanplaat Gemelamineerd (U999 ST9 Matte | RAL9005) Op Maat | Zagen Op Mm + ABS Kantenband
Bob Wright Yukon Accident
Wayward Carbuncle Location
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6263

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.