I have a flow that is trying to take Azure DevOps query, store it as JSON and then extract individual json objects one by one. Here is my flow:
MyFlow
This flow usually works great but for the following reason this version of the flow is failing:
See the json object that I have from Azure DevOps is a little weird:
[
{
"System.Id": 756,
"System.WorkItemType": "User Story",
"System.State": "Done",
"System.Title": "Sample user story ",
"Custom.UserRequestID": "1594"
}
]
When I try to extract data using item().Id, I get a name mismatch error. When I try item().['System.Id'], I get invalid expression error. If i do, item().system.id, then i get object system not found error.
Can anyone please help?
P.S. : Please do not provide a solution that has apply to each loop. I would like to understand how to handle this syntax with item() expressions. However, triggerBody expressions instead of item as solutions are welcome since they have the same issue in syntax.