Get Predecessors of Work Item (Wiql query)

How to get the predecessors of a Work Item in an Azure DevOps project by using a Power Automate flow with a Wiql query.

URI

Headers

Body

Screenshot with example

Sample data
OrgName – Contoso
Work Item ID – 265
LinkType – System.LinkTypes.Dependency-Reverse

getpredecessorsworkitem

Expected response

Details of the related work items will be returned in the workItemRelations property.

Copy/paste example

Resources

Wiql – Query By Wiql
Link type references

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.