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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow deletes Descripti...
Power Automate
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. 
Categories:
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard