---
title: "Add a pull requests (open/closed) panel to a dashboard | Grafana Labs"
description: "Learn how to add a dashboard panel that visualizes GitHub pull requests data including open and closed pull requests over time."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Add a pull requests (open/closed) panel to a dashboard

In this milestone, you add a panel to your existing dashboard that displays GitHub pull requests data, including the count of open and closed pull requests over time.

01. Open your existing dashboard. Click **Add** in the top-right toolbar and select **Visualization**. If you don’t see an **Add** button, click **Edit** to enter edit mode first, then click **Add** &gt; **Visualization**.
02. Click the **data source** dropdown and select your GitHub data source from the list. If you have multiple data sources, look for the one named after your GitHub connection.
03. If you see a **New query editor** banner with a **Back to classic** button, click **Back to classic**. The GitHub data source requires the classic query editor to show the Query Type dropdown.
04. In the query editor at the bottom of the screen, find the **Query Type** dropdown and choose **Pull Requests**.
05. Enter your GitHub organization name in the **Owner** field. For example, `grafana`.
06. Enter your repository name in the **Repository** field. For example, `grafana`.
07. In the **Time Field** dropdown, select **Closed At**.
08. Select **Table** as the visualization type.
09. In the **Panel options** on the right, enter a title for your panel in the **Title** field. For example, `GitHub Pull Requests Overview`.
10. Click **Save dashboard**. In the dialog that appears, click **Save**.
11. Click **Back to dashboard** to exit the panel editor and return to the dashboard view.

The panel now displays a Table visualization showing pull request trends over time.

In the next milestone, you’ll add a repository list panel to your dashboard.
