I have linked a branch to a Task. I want the following to happen automatically:
- Move the Task from
To DotoIn Progresswhen I push the first commit of that branch - Move the Task from
In ProgresstoDonewhen that branch is merged in Main
I have linked a branch to a Task. I want the following to happen automatically:
To Do to In Progress when I push the first commit of that branchIn Progress to Done when that branch is merged in MainThe closest feature available in Azure DevOps is the ability to move work items to a particular state based on the content of your commit message.
For example, if you want to move work items to "In Progress" or "Done" you would include something like this in your commit message:
In Progress: #1234
Done: #2345
However, Azure DevOps only supports this when a commit is merged. It won't work for your first use case.
Here's Microsoft's documentation on the feature: