Jump to content

Team Work Item Automation Rules (Private Preview)


Microsoft

Recommended Posts

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.

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 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.

The post Team Work Item Automation Rules (Private Preview) appeared first on Azure DevOps Blog.

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...