Skip to content

Pull requests

You can browse and filter pull requests for your GitHub repository from Pull Requests.

To open Pull Request, click DevOps > Pull Requests.

Pull requests are listed numerically and display the following information.

  • Pull request number: The number of the pull request.
  • Pull request name: The name of the pull request.
  • Pull request success badge: The badge that indicates if the pull request passed all automated checks.
  • Timestamp: The amount of time since the pull request was created.

The Pull Requests activity lists the first 100 pull requests in a repository. Click Load more to view more pull requests. Reports and exports become available once every matching pull request is loaded.

To open a pull request in a separate tab, right-click the pull request and click Open in New Tab.

Pull Request view

Click a pull request to open the pull request in the Pull Request view. Click Conversation, Checks, and Changes to change the displayed information of the Pull Request view.

Conversation view

You can view every comment and action of a pull request in the Conversation view. The Conversation view displays the pull request and the following information.

  • State: The status of the pull request, if the pull request is open or merged.
  • Milestone: The milestones associated with the pull request.
  • Assignees: The users assigned to the pull request.
  • Reviewers: The users assigned to review the pull request.
  • Labels: The labels attached to the pull request.
  • Project: The project the pull request is a part of. This field currently shows Unavailable on pull requests: GitHub Projects are temporarily disabled in Code Review while account routing is secured, so no project data is loaded or changed here. Use Open in browser to manage a pull request’s projects on GitHub.
  • Linked issues: The issues linked to the pull request.
  • Changes: The amount of additions, deletions, and files changed in the pull request.

Checks view

You can view the automated checks a pull request goes through in the Checks view. Each check indicates if the pull request passed or failed the check.

Click on a check to view the details of the check in the Web Browser tab.

Changes view

Open Changes to view the changed files in a pull request. Use the dropdowns to filter by status or file type, or to show viewed, unviewed, or unavailable files. Type a file name in Filter files to find matching files.

Pull Request report

To open GitHub pull request reports, choose DevOps > PR Report and select a report from the Report Gallery. While a report is open, choose Close Report to return to the gallery. Use the filter control to change the pull requests summarized by the report. For details, see Pull request report.

Create a new pull request

Use Generate in the Content header to draft the title and description with Zide. Its label stays visible when the fields contain text. Hover or focus the button to highlight both affected fields. Existing drafts open a review with selectable results, and applied results offer Undo. Review the content before creating the pull request.

To create a new pull request, complete the following steps.

  1. Click DevOps > New PR.
  2. In the New PR tab, select the base and compare branch.
  3. In the Title field, enter the pull request name.
  4. Optional: Add labels, milestones, and assignees to the pull request in the Metadata section.
  5. Enter the pull request description in the Description field and click Create Pull Request.

Filter pull requests

By default, the Pull Requests activity displays all open pull requests in a repository. Click the Switch filter dropdown to select a filter template.

Click Show or hide filters to open the filter panel. You can combine filters. Click Switch to Advanced Query to enter filters with GitHub search syntax. In this mode, press Ctrl+F (Cmd+F on macOS) to open the panel and focus the query field.

Filter panel actions

In the pull request filter panel, click the following icons to perform a filter action.

IconDescription
SaveSaves the changes to the filter template.
Save AsSaves the changes as a new filter template.
Rename filterRenames the filter template.
Revert to saved stateDiscards changes made to the filter template.
Delete this filterDeletes the filter template.
New filter tabOpens a new Pull Request tab for a new filter template.
Duplicate tabCopies the current filter template to a new Pull Request tab.