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 / AzureDevOps.CreateWork...
Power Apps
Answered

AzureDevOps.CreateWorkItem access the ID field in the response into PowerApp

(0) ShareShare
ReportReport
Posted on by 10

Hi all,

I have successfully created a helpdesk intake form and it creates a ticket in Azure DevOps just fine.  However, I can't figure out how to get the new ID that was created in Azure back to my power app.  I am using AzureDevOps.CreateWorkItem and in monitoring I can see the response showing the ID in the body that is returned, but I have tried lots of ways to try to get to this but everything gives me an error.

here is the section of the response I am trying to get at:

"body": {
        "id": 7305,
        "rev": 1,
        "fields": {
          "System_Id": 7305,
          "System_AreaId": 10,
 
Here is my call, I just want to capture the ID that was created in ADO and show it in a text field or label back in power Apps.
AzureDevOps.CreateWorkItem("Quality", "Tasks", "myOrg", SubjectOfReq.Text, {shouldReturnAllFields:true, description:MainDetailDesc.Text, iteration:"Quality\SPRINT BACKLOG",priority:"4",userEnteredFields:Table({key:"Assigned To",value:"Michelle Keller"}, {key:"Requester Name", value:UserName.Text}, {key:"Epic Name", value:"Helpdesk"})});
 
Any help is much appreciated.  Thank you.
Categories:
I have the same question (0)
  • Verified answer
    mkeller517 Profile Picture
    10 on at

    This was resolved.  I was able to get to this by adding the following before the ADO call.  Then I can access the ADO number received by the 2nd part of the code.

    ClearCollect(
        AdoResponse,
        (AzureDevOps.CreateWorkItem(
     
    AdoResponse comes back as a table, so you need to do this to get the ID:
     ID: ("ADO-" & First(AdoResponse).id),

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard