Answers: <p>I think the simplest way to do this would be to utilise a webhook on your Azure DevOps Boards and have it updated via the DevOps API. With a simple serverless instance like Azure Functions you should be able to do this quickly and painlessly.</p>
  
Answers: CC BY-SA 4.0
Answers: 2022-10-11T00:32:43.160Z
Answers: 2022-10-11T00:32:43.160Z
Answers: jsprovoke
Body: <p>I'm working in Azure DevOps and have some organisational restrictions so instead of using &quot;State&quot; we will use a custom field &quot;Status&quot; with 6 options:</p>
  <ul>
  <li>On Track</li>
  <li>Delayed</li>
  <li>Pending</li>
  <li>Done</li>
  <li>Removed</li>
  <li>Blocked</li>
  </ul>
  <p>The rule we want is:
  Parent status is restricted and dependent on child Status. If any of the children of a parent item have the Status as Blocked, the parent item is changed to Blocked. Same with Delayed. The Status of the parent cannot be changed from Blocked or Delayed until all children are in one of the other states. If all children are in any other state, the parent changes to on track and can be manually changed.</p>
  <p>Help!</p>
  
Comments: CC BY-SA 4.0
Comments: 2022-10-07T12:26:57.000Z
Comments: Can you explain more about what each status means and how it relates to your team process? To be honest, I think there are existing Azure DevOps features that satisfy most of these requirements, but I need more information first.
Comments: Greg Burghardt
Tags: <azure-devops><automation>
Title: Work item rules in Azure DevOps board: Parent STATUS (custom field) dependent on child STATUS
UserDisplayName: Bee7
ThreadText: # Work item rules in Azure DevOps board: Parent STATUS (custom field) dependent on child STATUS
  
  (Asked by: username_0 on 2022-10-05)
  
  I'm working in Azure DevOps and have some organisational restrictions so instead of using "State" we will use a custom field "Status" with 6 options:
  
  * On Track
  * Delayed
  * Pending
  * Done
  * Removed
  * Blocked
  
  The rule we want is:
  Parent status is restricted and dependent on child Status. If any of the children of a parent item have the Status as Blocked, the parent item is changed to Blocked. Same with Delayed. The Status of the parent cannot be changed from Blocked or Delayed until all children are in one of the other states. If all children are in any other state, the parent changes to on track and can be manually changed.
  
  Help!
  
  **Tags:** azure-devops, automation
  
  > **Comments:**
  > **username_1**: Can you explain more about what each status means and how it relates to your team process? To be honest, I think there are existing Azure DevOps features that satisfy most of these requirements, but I need more information first.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-10-11. Score: 0
  
  I think the simplest way to do this would be to utilise a webhook on your Azure DevOps Boards and have it updated via the DevOps API. With a simple serverless instance like Azure Functions you should be able to do this quickly and painlessly.
  
  
  ---
  
  