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 / Azure DevOps Work Item...
Power Automate
Unanswered

Azure DevOps Work Item "Discussion" field automation issue

(0) ShareShare
ReportReport
Posted on by 2

Hello,

         I have a scenario wherein Im trying to setup a Flow between Outlook and Azure DevOps wherein the Azure DevOps Work Item will get Updated based on a response to an email, having certain criteria in it. One of the big ASKS here is to Update the Work Item with the LATEST details/response in the body of the email. The issue I have here is that Flow/Automate does not currently recognize the Discussion field an AzDo Work Item and thus Im unable to map it. The only option I have is to Update the Description every-time (Essentially Override) which makes everything very convoluted

 

Does anyone have a work around for this?

Categories:
  • Kevin Carr Profile Picture
    4 on at

    Hi,

     

    We had a similar need and was able to do this by using the "Send an HTTP request to Azure DevOps" action.

     

    You would set the Relative URI to something like "https://dev.azure.com/[your organization]/[Project]/_apis/wit/workItems/[work item]/comments?api-version=5.1-preview.3"

     

    and in the Body field a simple Json 

     

    {
        "text": "Moving to the right area path"
    }

     

    This will post a new comment to your work item.

     

  • CU29100325-0 Profile Picture
    94 on at

    The name of the discussion field is actually 'History' and updating that works fine.

    https://powerusers.microsoft.com/t5/General-Power-Automate/Capture-Approval-Comment-in-Azure-DevOps-Discussion/m-p/324014#M31505

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    May I ask how to write the Header for authorization?

     

    I used Authorization: Bearer <personal access code generated from Azure DevOps>  but it doesn't work.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard