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 / Updating work item in ...
Power Automate
Unanswered

Updating work item in Azure Devops fails. TF26071

(0) ShareShare
ReportReport
Posted on by 53

I have some Flows that update a work item in Azure Devops by adding a comment.  I am using the Send HTTP Request to Azure Devops action with this request https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/comments/add?view=azure-devops-rest-5.1

 

Occasionally it fails with error "TF26071: This work item has been changed by someone else since you opened it.  You will need to refresh it and discard your changes."

 

Is there any way I can prevent or handle this error?

 

Categories:
I have the same question (0)
  • CS-31031032-0 Profile Picture
    on at

    Your previous steps on the same work item might still be in process as the HTTP request is sent?  Try using the Delay step and have your flow pause for a couple of seconds.

     

    chrissahagun_0-1615963027621.png

     

    🤞

     

  • dmorland Profile Picture
    53 on at

    There are no preceeding steps that make any update to the work item.  I suspect it is some kind of conflict with a change that is being made to the work item by another user in the Azure DevOps GUI.  As far as I am aware, concurrent changes to the item are merged on each save unless the changes are to the same field which might result in a conflict.  But if I run my Flow which adds a comment while I also have it open in the GUI adding a comment I don't get this error.  The error is only happening once in every hundred or so runs.

    This update is the last action in the Flow so I am thinking one option might be to add a subsequent on-fail action to retry the same update

  • CS-31031032-0 Profile Picture
    on at

    As I was reading your response, I thought of suggesting a retry on error.  And then I got to your last line!

     

    I think you should try it! like a "configure run after" thing on a condition, right?

  • mpatelNYMetro Profile Picture
    2 on at

    I am running into the same problem error.

     

    Was there any solution to this OR did your mentioned workaround "subsequent on-fail action to retry the same update" work?

     

    Don't think the delay or pause would work.

     

    Also, not sure how this can be reproduced.

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
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard