Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Filtering a Devops Query by States or Area Paths

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. 



Dual Super User
Dual Super User

Re: Filtering a Devops Query by States or Area Paths

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!

Community Support Team
Community Support Team

Re: Filtering a Devops Query by States or Area Paths

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,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,088)