Is there any way to export the list of related work items in a Git pull request in Azure DevOps?
1
votes
Hi. We actually used a custom Query to pull all work items from several sprints, and that was it. Since I didn't have the chance to try Shamrai's answers myself, I can't accept them. When I have the chance, I'll try automating that process further. Maybe then I'll be able to accept
- dzenesiz
Feel free to check these answers and kindly let us know the result.
- Edward Han-MSFT
2 Answers
3
votes
Azure CLI can view linked work items: az repos pr work-item list
Template:
az repos pr work-item list --org https://dev.azure.com/{org} --id {id} --output table
Result:
1
votes
You can use REST API: Pull Request Work Items - List
You can just put into the browser the following template:

