cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Caliel
Regular Visitor

HTTP request Azure DEVOPS

Hi,

 

I'm making an http request on the azure devops work items and I need to filter so that it returns in the JSON only items where WorkItemType is equal to 'Product Backlog Item', what would the call look like in this case? Here's the request I'm making:

 

Caliel_1-1647459861825.png

 

Thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @Caliel,

 

As far as I can tell from the documentation you should be able to use the types URI parameter:

https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/reporting-work-item-revisions/read-report...

 

Try something like below:

 

@{variables('ProjectName')}/_apis/wit/reporting/workitemrevisions?types=Product Backlog Item&api-version=6.0

 

productbacklogitem_revisions.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @Caliel,

 

As far as I can tell from the documentation you should be able to use the types URI parameter:

https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/reporting-work-item-revisions/read-report...

 

Try something like below:

 

@{variables('ProjectName')}/_apis/wit/reporting/workitemrevisions?types=Product Backlog Item&api-version=6.0

 

productbacklogitem_revisions.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Hi, @Expiscornovus 

 

Thanks for the help, this parameter solved it.

 

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,127)