Connectors

/

Azure DevOps

/

Triage stale Azure DevOps pull requests
Report

Find pull requests that have gone quiet

For developers who want stale Azure DevOps pull requests and who is blocking them, just by asking their AI assistant.

Try PopdockAI free
Get a live demo
Triage stale Azure DevOps pull requests
Triage the stale pull requests in the Contoso.Web repository. Anything quiet for 3 days counts.
6 active pull requests have been quiet for 3 days or more. - PR 1287 Coupon validation: waiting on Priya Shah, 3 open threads - PR 1291 Cart refactor: no reviewers assigned - PR 1295 Update dependencies: 1 open thread - Skipped: 2 drafts Want the 3 oldest with their authors?
Azure DevOps
Sample figures. Your results come from your own account.
azure-devops-get-pull-request
azure-devops-get-pull-request-reviewer
azure-devops-get-pull-request-thread

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Azure DevOps

Azure DevOps
Run it on your own Azure DevOps data.

Connect Azure DevOps, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Pull requests sit unreviewed for days

Pull requests sit unreviewed for days and nobody notices who is blocking them. Finding the quiet ones means filtering the list and opening each pull request to see its reviewers and threads.

Without PopdockAI

  • Filter active pull requests by last activity
  • Open each one to check reviewers
  • Read the open comment threads
  • Let reviews stall another week

With PopdockAI

  • Active pull requests with no recent activity are listed
  • Drafts are skipped
  • Missing reviewers and open threads are named for each
  • What was skipped is stated, and nothing is approved or merged

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Find the active pull requests in `{repository-name}` (all repositories if empty) with no activity for `{stale-days}` days (default 7) and say what is holding each one up.

**Step 1: List active pull requests**

Call `azure-devops-get-pull-request` with status `active` and repository-name `{repository-name}` when given. Drop drafts from the main list and mention them separately. Keep those whose last activity is older than the stale threshold; use the creation-date when nothing newer is available.

**Step 2: Find the blockers**

For each stale pull request call `azure-devops-get-pull-request-reviewer` with its pull-request-id and repository-id. Note required reviewers with no vote, votes of waiting or rejected, and flagged reviewers. Then call `azure-devops-get-pull-request-thread` with the same ids and status `active` to count unresolved comment threads.

**Step 3: Report**

A table of pull request id, title, author, age in days, merge-status, reviewers still needed, unresolved threads. Below it, one line per pull request naming the single next action and who should take it. Order by age, oldest first.

**Rules & Guidelines:**

* This prompt is read-only. Call only the `azure-devops-get-*` read tools named above; never create, update, comment on, approve, queue, abort or delete anything in Azure DevOps.
* The tools only return data the connected account can see; never infer data from projects outside that access.
* Cap the deep dive at the 15 oldest stale pull requests and say how many were skipped.
* A merge-status other than succeeded is a blocker in its own right; call it out.

**Validation:**

* If no pull requests are stale, say so and show the oldest active one as a reference.
* If `{stale-days}` is empty, use 7.

Who it's for

One answer, three teams that use it

Tech leads

Get reviews moving again

See which pull requests are stuck and who is missing, so you can nudge the right people.

Triage stale pull requests in Fabrikam.Api, quiet for 2 days or more.

Developers

Find out why your change is stuck

See the missing reviewers and open threads on your pull requests.

Which of the stale pull requests in Northwind.Portal are waiting on reviewers?

Engineering managers

Spot review bottlenecks

Repeated missing reviewers show where review load needs spreading.

List pull requests in Contoso.Services with no activity for 5 days and their open threads.

How it works

What PopdockAI does when you ask

You name a repository and how long counts as stale, and your AI assistant finds the stalled pull requests. It only reads.

01

Ask

You name the repository and how long counts as stale.

Your AI tool

02

Read

It lists active pull requests with no recent activity, skipping drafts.

azure-devops-get-pull-request

03

Check

It reads the reviewers and comment threads on each.

azure-devops-get-pull-request-reviewer
azure-devops-get-pull-request-thread

04

Report

You get each pull request with who is missing and what is open.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Azure DevOps and one secure connection to your AI tool. No code, no exports.

get-data

azure-devops-get-pull-request

Returns pull requests records from the Azure DevOps connector. Use it to read and filter pull requests across your Azure DevOps projects.
get-data

azure-devops-get-pull-request-reviewer

Returns pull request reviewers records from the Azure DevOps connector. Use it to read and filter pull request reviewers across your Azure DevOps projects.
get-data

azure-devops-get-pull-request-thread

Returns pull request threads records from the Azure DevOps connector. Use it to read and filter pull request threads across your Azure DevOps projects.
Read only.Nothing in Azure DevOps Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Stalled reviews, and who can unblock them

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation