Using this sample code as a base, how do I get the full contents of each of those related work items?
The only obvious solution to me is to chop the work item ID off the end of the URL, convert it to an integer, and then call workItemTrackingClient.GetWorkItemAsync(id), but I feel like there should be a solution that doesn't involve making assumptions on the format of the URL that comes back.
Using this sample code as a base, how do I get the full contents of each of those related work items?
The only obvious solution to me is to chop the work item ID off the end of the URL, convert it to an integer, and then call
workItemTrackingClient.GetWorkItemAsync(id)
, but I feel like there should be a solution that doesn't involve making assumptions on the format of the URL that comes back.