Skip to content

Stale work report in Azure DevOps

  • Azure DevOps
  • Automation
  • Schedule & bulk
  • Email
  • Report
Stale work report flow overview
Overview of the Stale work report automation flow.

Every Monday, email incomplete work items not changed in 14+ days (Closed Date empty) in Azure DevOps.

Before enabling this automation, you will need to set the email recipients, define the stale window, specify the work item types, and configure the timezone.

Prerequisite: Install Automations App on your Azure DevOps organization

Create an automation from the Stale work report template, or start from scratch
Go to Project → Automations → Create automation from template Stale work report or Start from scratch.
Trigger

Trigger — Schedule

This step triggers the automation every Monday at 09:00 (UTC). It sets the schedule for when the report will be generated and sent.

Configured in this template

  • Occurrence: Every Mon at 09:00 (UTC)

You can customize

  • Change the day or time of the week to fit your reporting needs.
  • Adjust the timezone to match your local time.
Stale work report trigger
Schedule trigger set for every Monday at 09:00 UTC.
Get

Get — Search work items

This step searches for work items that have not been changed in the last 14 days and have an empty Closed Date. It loads these items into the automation for further processing.

Configured in this template

  • Field conditions:
  • - Changed Date < @Today-14
  • - Closed Date Is Empty
  • logic: and

You can customize

  • Modify the Changed Date condition to a different number of days.
  • Include additional work item types such as Bug or User Story.
Stale work report action 1
Search work items with specific field conditions.
Action

Action — Send customized email

This step sends an HTML email listing the stale work items. The email includes links to each work item and is sent from notifications@documentero.com.

Configured in this template

  • To: (empty — add recipients)
  • From: notifications@documentero.com
  • Subject: `Stale work ({items.Count} items)`
  • Body (HTML): `<p>Incomplete work items not changed in 14+ days:</p><ul>{#Items}<li><a href="{Url}">#{Id} {Title}</a> {AssignedTo}</li>{/Items}</ul>`

You can customize

  • Add or change email recipients.
  • Customize the email subject or body to suit your needs.
Stale work report action 2
Send customized email action with placeholders for work items.

Full automation

Stale work report full automation
Complete view of the Stale work report automation setup.

Common questions

How do I stale work report in Azure DevOps?
Every Monday, email incomplete work items not changed in 14+ days (Closed Date empty) in Azure DevOps. Use the Stale work report template in Documentero Automations: open Templates, pick this flow, fill the required fields, and enable it.
What fields must I fill before enabling the automation?
You need to fill in the email recipients, define the stale window, specify the work item types, and set the timezone.
How can I change the work item types included in the report?
Modify the Search work items step to include or exclude specific work item types such as Bug or User Story.
Can I test this automation before fully enabling it?
Yes, you can test the automation by running it manually or adjusting the schedule to a near future time.
How do I adjust the schedule or timezone?
In the Schedule trigger, change the occurrence time and select the appropriate timezone for your needs.

Visual Studio Marketplace

Automations

Documentero · Preview

Automate Azure DevOps workflows with triggers, actions, conditions, and scheduled rules.

Get it free