Skip to content

Weekly closed work report in Azure DevOps

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

Every Monday, email a report of work items whose Closed Date is in the last 7 days in Azure DevOps.

To use this template, you'll need to set up recipients, filters, and timezone before enabling the automation. This ensures that the report is sent to the correct people and includes the relevant work items.

Prerequisite: Install Automations App on your Azure DevOps organization

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

Trigger — Schedule

This trigger initiates the automation every Monday at 09:00 (UTC). It sets the schedule for when the report should be generated and sent.

Configured in this template

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

You can customize

  • Change the day or time to suit your reporting needs.
  • Adjust the timezone if your team operates in a different region.
Weekly closed work report trigger
Schedule trigger set for every Monday at 09:00 (UTC).
Get

Get — Search work items

This step searches for work items whose Closed Date is within the last 7 days. It uses field conditions to ensure only relevant items are included in the report.

Configured in this template

  • Field conditions:
  • - Closed Date >= @Today-7
  • - Closed Date < @Today
  • logic: and

You can customize

  • Modify field conditions to include different work item types.
  • Use a shared query for more complex search criteria.
Weekly closed work report action 1
Search work items action with conditions for Closed Date.
Action

Action — Send customized email

This action sends an HTML email listing the work items found in the previous step. The email includes links to each work item, making it easy for recipients to access details.

Configured in this template

  • To: (empty — add recipients)
  • From: notifications@documentero.com
  • Subject: `Closed last week ({items.Count} items)`
  • Body (HTML): `<p>Work items closed in the last 7 days:</p><ul>{#Items}<li><a href="{Url}">#{Id} {Title}</a></li>{/Items}</ul>`

You can customize

  • Add multiple recipients to the 'To' field.
  • Customize the email body to include additional details or formatting.
Weekly closed work report action 2
Send customized email action with placeholders for recipients and email content.

Full automation

Weekly closed work report full automation
Full view of the Weekly closed work report automation on the builder canvas.

Common questions

How do I weekly closed work report in Azure DevOps?
Every Monday, email a report of work items whose Closed Date is in the last 7 days in Azure DevOps. Use the Weekly closed work report template in Documentero Automations: open Templates, pick this flow, fill the required fields, and enable it.
What fields must be filled before enabling the automation?
Ensure you fill in the recipients, filters, and timezone. The 'To' field in the Send customized email action must not be empty.
Can I change the type of work items included in the report?
Yes, you can modify the field conditions in the 'Search work items' step to filter different work item types.
How can I test this automation?
You can test the automation by temporarily changing the schedule to a near future time and observing the email output.
How do I change the schedule or timezone?
Adjust the 'Occurrence' setting in the Schedule trigger to change the day, time, or timezone.

Visual Studio Marketplace

Automations

Documentero · Preview

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

Get it free