Skip to main content

Notifications

Community site session details

Community site session details

Session Id : QQx0j0aLoJxVMCfpu+8UaM
Power Automate - Building Flows
Unanswered

Filtering a Devops Query by States or Area Paths

Like (0) ShareShare
ReportReport
Posted on 3 Jul 2019 04:28:15 by 4

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. 

 

image.png

  • v-bacao-msft Profile Picture
    on 04 Jul 2019 at 10:18:17
    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:

    56.PNG

    Configuration of Apply to each:

    57.PNG

    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.

    58.PNG

    Hope it helps.

     

    Best Regards,

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on 03 Jul 2019 at 11:23:33
    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. 

    https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/Create-Update-Parameterized-Queries-in-Azure-DevOps-with/ba-p/306106

     

    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!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started