I have a GitHub repo whose development is managed on Azure DevOps, linked using Azure Boards. In the 'Development' field of each Work Item (e.g. User Story, Task) is a list of linked GitHub commmits for that item. I would like to use the Azure DevOps API to retrieve this list for each work item.
What I've tried:
https://dev.azure.com/{organization}/{project}/_apis/wit/fields
endpoint). The number of GitHub links seems to match the System.ExternalLinkCount
, but I can't find a way to then list these links.WorkItemLinks
(documentation here), but this looks like it's only for links between work items, not e.g. links from work items to other external resourcesPlease use $expand=relations
parameter to get details of linked items.
There is difference between API in v5.1 and v6.0 where on the second flog is included by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With