Your Power Automate flow seems to be set up correctly to achieve the goal of adding the "Dev Effort" and "Test Effort" fields and updating the "Total Effort" field in Azure DevOps. Here's a breakdown of what your flow is doing:
-
Trigger: The flow triggers when a work item of type "Product Backlog Item" is updated in the "CCS Dev" project.
-
Get Work Item Details: It retrieves the details of the updated work item.
-
Initialize Variables:
DevEffort: Initialized to 0.TestEffort: Initialized to 0.Addition: Initialized to the sum ofDevEffortandTestEffort.
-
Conditions:
- Condition for DevEffort: Checks if the "Dev Effort" field is null. If it is not null, it sets the
DevEffortvariable to the value of the "Dev Effort" field. - Condition for TestEffort: Checks if the "Test Effort" field is null. If it is not null, it sets the
TestEffortvariable to the value of the "Test Effort" field.
- Condition for DevEffort: Checks if the "Dev Effort" field is null. If it is not null, it sets the
-
Calculate Total Effort: The
Additionvariable is set to the sum ofDevEffortandTestEffort. -
Update Work Item: Updates the work item with the new "Total Effort" value while preserving the state and other fields.


Report
All responses (
Answers (