web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow deletes Description field (in Azure Devops) when Update Work Item action executes

(0) ShareShare
ReportReport
Posted on by
Hi Community members, 
Using Power Automate, I have created a flow which adds the values of custom fields like Dev Effort (Type=Decimal) & Test Effort (Type=Decimal) into system field i.e. Total Effort (Type=Decimal) field of the Product Backlog Item in Azure DevOps.
One thing to consider is that these fields will always be Blank intially when a new PBI is created & before entering any integer value.
Problem Statement: Whenever any field on a PBI is updated like adding a comment, acceptance criteria, changing priority or adding efforts, this flow deleted the description of the PBI. This needs to be fixed. 
 
Below is the summary given by Copilot on this flow:

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:

  1. Trigger: The flow triggers when a work item of type "Product Backlog Item" is updated in the "CCS Dev" project.

  2. Get Work Item Details: It retrieves the details of the updated work item.

  3. Initialize Variables:

    • DevEffort: Initialized to 0.
    • TestEffort: Initialized to 0.
    • Addition: Initialized to the sum of DevEffort and TestEffort.
  4. Conditions:

    • Condition for DevEffort: Checks if the "Dev Effort" field is null. If it is not null, it sets the DevEffort variable 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 TestEffort variable to the value of the "Test Effort" field.
  5. Calculate Total Effort: The Addition variable is set to the sum of DevEffort and TestEffort.

  6. Update Work Item: Updates the work item with the new "Total Effort" value while preserving the state and other fields.

I have attached the entire Power Automate flow for reference. 
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard