I have a DevOps query that gives me a list of records.
I want to filter these by their Area Paths that I have a record of, inside SharePoint.
Is there some way to to do this?
I thought I would be able to output into an HTML table and filter on the rows but I can't figure out how to do that. Any help would be appreciated.
Hi @Vvitas ,
If you want to filter the work item using the field values in the specified item, you could use Get item action and specify the item id.
The response of Get query result action does not include Area Path. We need to use Get work item details action to get more information.
Please refer to the following image to configure Flow.
Configure array variable to store the data that needs to be rendered in Html table.
Imgae reference:
Configuration of Apply to each:
There is a caveat here. When configuring Work Item Type field, choose a Type at random. After all the configuration is completed, click Enter custom value to fill Work Item type.
Hope it helps.
Best Regards,
HI @Vvitas
Yes. You can modify your query/ create a new one with dynamic parameters and get the response from Azure DevOps. Please have a look at the article below for a step by step procedure for the same. If you have worked with wiql queries in Azure DevOps, you need to simply create the query there and export the wiql structure and use it in the http request section of the flow.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional