How to get the list of duplicate bugs linked to the primary bug in Azure devops?
Hi @MaheshBohara,
One approach would be to use the Extended Analytics with OData. In that feed there is an option to query for non-hierarchical links (for example duplicates):
You could interact with that feed via a Personal Access Token and using a HTTP action in Power Automate:
Below is an example how you could configure that HTTP action.
https://analytics.dev.azure.com/@{variables('Organisation')}/@{variables('Project')}/_odata/v2.0/workItems?$select=WorkItemId,Title,WorkItemType,State&$expand=Links($select=SourceWorkItemId,TargetWorkItemId,LinkTypeName)&$filter=WorkItemId eq @{variables('WorkItemId')}
The output would be the links for one specific work item (in this example bug #97)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
13 | |
12 | |
10 | |
9 | |
6 |
User | Count |
---|---|
27 | |
20 | |
13 | |
12 | |
10 |