Currently there's an action to get all the children of a work item in Azure DevOps, but there's no way to get a work item's parent. This is to check whether a work item is a descendant of another item more efficiently.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.