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 Apps / Unable to update Azure...
Power Apps
Answered

Unable to update Azure DevOps work item status using PowerApps

(0) ShareShare
ReportReport
Posted on by 29

Hi Team, I am trying AzureDevOps.UpdateWorkItem in Canvas App to update work item status however I can update title, description etc. easily but not getting exact query to update work item status. Please see below code -

AzureDevOps.UpdateWorkItem(
"1",
"AccountName",
{
project: "TbdSolution",
type: "Control",
title:"Approved Test Strategy",
dynamicFields:{ 'System.State': "Removed"}
}
)

Can anyone help me with the updated query?

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ankurjain30 ,

     

    You could try to use userEnteredFields field.

    vxiaochenmsft_0-1652427938972.png

     

    Best Regards,

    Wearsky

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    .

  • ankurjain30 Profile Picture
    29 on at

    @v-xiaochen-msft Thanks for the solution, it worked.

  • dariopetko Profile Picture
    5 on at

    Hi @v-xiaochen-msft ,

     

    first of all, thank you for the initial Solution! It helped me to understand how "userEnteredFields" works.

    But now, if I want to add a second custom field to the table, the solution doesn't work anymore. Do you have a solution how someone can add multiple Custom Fields in the userEnteredFields table?

     

    Thank you very much and best regards,

    Dario

  • CBARBER22 Profile Picture
    Microsoft Employee on at

    Here is an example of 3 custom properties with the use of userenteriedfields. It follows the same pattern as one but each is separated by a comma and then a new {} is initiated for each property with a key and a value. Then at the conclusion close your statement/function with the appropriate number of ) and/or }.
    userEnteredFields:Table({key:”Field1”,value:”Value1”},{key:”Field2”,value:”Value2”},{key:”Field3”,value:Value3})

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard