Skip to content

Email the assignee in Azure DevOps

  • Azure DevOps
  • Automation
  • Notifications
  • Email
  • Assignee
Email the assignee flow overview
Overview of the Email the assignee automation flow.

When Assigned To changes, email that person in Azure DevOps.

The automation is triggered by updates to the 'Assigned To' field and will send a customized email to the new assignee, unless the field is cleared. You'll need to set an optional email copy before enabling the automation.

Prerequisite: Install Automations App on your Azure DevOps organization

Create an automation from the Email the assignee template, or start from scratch
Go to Project → Automations → Create automation from template Email the assignee or Start from scratch.
Trigger

Trigger — Work Item Update

This trigger activates when the 'Assigned To' field of any work item is updated. It does not trigger on link or comment changes.

Configured in this template

  • Work item types: all (no filter)
  • Changed fields (optional filter): Assigned To

You can customize

  • Limit to specific work item types if needed.
  • Add other fields to the trigger if monitoring multiple changes.
Email the assignee trigger
Trigger setup for monitoring 'Assigned To' field changes.
Condition

Condition — Work item fields

This condition checks if the 'Assigned To' field is not empty. If the field is cleared, the automation stops here.

Configured in this template

  • Check: This work item
  • Require: All of Items
  • Field conditions: Assigned To Is Not Empty
  • Match logic: All conditions must match (AND)
  • Related work item conditions: (none)

You can customize

  • Add additional conditions to refine when the email is sent.
  • Change match logic to OR if any condition should trigger the action.
Email the assignee condition 1
Condition ensuring 'Assigned To' is not empty.
Action

Action — Send customized email

This action sends an HTML email to the assignee using the platform's mailer. The email includes a link to the work item.

Configured in this template

  • To: {trigger.AssignedToEmail}
  • From: notifications@documentero.com
  • Subject: `Assigned: {trigger.Title}`
  • Body (HTML): `<p>You were assigned <a href="{trigger.Url}">#{trigger.Id} {trigger.Title}</a>.</p>`

You can customize

  • Modify the email body to include additional details or instructions.
  • Change the sender email address if needed for your organization.
Email the assignee action 1
Action setup for sending an email to the assignee.

Full automation

Email the assignee full automation
Complete view of the Email the assignee automation setup.

Common questions

How do I email the assignee in Azure DevOps?
When Assigned To changes, email that person in Azure DevOps. Use the Email the assignee template in Documentero Automations: open Templates, pick this flow, fill the required fields, and enable it.
What fields are required to enable this automation?
You must set the optional email copy before enabling the automation.
Can I change the work item types this automation applies to?
Yes, you can filter the trigger to specific work item types.
How can I test this automation?
Assign a work item to yourself and check if you receive the email notification.
Can I schedule this automation to run at specific times?
This automation runs based on field changes, not on a schedule.

Visual Studio Marketplace

Automations

Documentero · Preview

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

Get it free