Team Work Item Automation Rules (Private Preview)

Dan Hellem

Preview is full 🌝


Sorry, we are no longer adding more organizations to the private preview. But we have good news. We are finishing up a few things and getting it ready for general availability. We expect to start rolling it out to customers at the first for the year 2024.

Customers have been requesting to automate state transitions for a while. Take this request from 2018:

“When a User Story contains several child tasks, often developers update the child tasks but not the overall state of the User Story. It would be great to automatically update the state of the User Story according to the state of the child tasks. For example, if one Task is changed to Doing then the User Story should be set to Doing. If all Tasks are in Closed, then the User Story should be Closed.”

You can automate this on your own, but it requires web hooks and custom code. However, it really needs to be part of the core product and should be a configurable option for each backlog level. Recognizing that teams operate differently.

Today, we are happy to announce a private preview for this new feature!

How it works

There are two sets of rules that can be configured by your team on the team backlog settings panel.

Image of backlog settings for automation rules

You have the flexibility to establish these rules independently for each backlog level, including Stories, Features, and Epics. This allows you to, for instance, automate the closing of User Stories while leaving Features and Epics untouched. It’s important to note that these rules exclusively pertain to your team’s workflow on the backlog and boards. Other teams within your project can customize their own rules to align with their specific work processes.

Here is an example of the rules being applied to the User Stories backlog level.

Image of demo of automation rules for simple workflow

Example of rules be applied to several backlog levels in sync.

Image tam automation rules for several backlog levels

These rules operate seamlessly, regardless of where you make updates to the child items, such as on the sprint board, for instance.

Image sprint board and team automation rules

We’re excited about this feature and hope you find it as valuable as we do. If you’d like to join the preview, please reach out to us via email, and don’t forget to include your organization’s name (dev.azure.com/{organization name}). Please be aware that we will be limiting the number of participants in the preview. Our goal is to gather customer feedback and aim to make this feature widely available in just a few weeks.

📝 This feature is only available on the New Boards Hub.

Limitations

  • Similar to styles, the configuration of Work Item Automation rules is exclusive to Team admins.
  • Work items must belong to the same team; closing a task in a different team or project will not trigger the closure of the parent item.
  • The rules are established at the team backlog level and are applicable to all work items at that specific level. This means that Features backlog can have distinct rules from the User Stories backlog.
  • Instead of states, we utilize State Categories due to the intricate nature of various work item types and their state models. Categories provide consistency across types making it easier to understand and configure.
  • The automation rules default to the first state within the assigned category.
  • Updates via REST APIs will not activate automation rules. You can automate the updating of parent items by implementing additional patch updates.

6 comments

Discussion is closed. Login to edit/delete existing comments.

  • Renato Mattos 0

    A great piece of news, but it’s still not available. Waiting for 5 long years for this feature is discouraging. Competing tools have had this option for years. Believing that Microsoft doesn’t give the necessary attention to this tool jeopardizes advocating its use in large enterprises. The pipeline teams shouldn’t compete with the board teams. There are dozens of necessary improvements, but the roadmap is painfully slow.

    • Dan HellemMicrosoft employee 0

      Hello Renato,

      The feature is available today for private preview. If you are interested, please follow the email us link above and provide your organization name and we will get you setup.

      • SuperC 0

        When will it be available to other organizations for testing?
        Thanks

        • Dan HellemMicrosoft employee 0

          We will make it available as soon as we feel it is ready. If all goes well, I expect that will be 6 weeks or so.

  • tasosv 0

    Can we get this in Azure DevOps Server? Or it will be available only on Services?

    • Dan HellemMicrosoft employee 0

      Features get released in the Service first then eventually rolled into Server. This is still in preview, so it won’t be considered for Server until after we go GA with it.

Feedback usabilla icon