azure-devopsazure-functionsazure-monitoringazure-monitorazure-monitor-workbooks

is there any possibility to link AzureAlerts and Azuredevops workitems?


is there any automated way to directly create bugs in Azuredevops projects dashboard and assigned to team whenever Aure loganalytic query based alerts triggered?


Solution

  • Basically, if the Azure Log Analytics query based alerts can call other services or APIs, then it's possible to create work items by calling the REST API Work Items - Create. But, there doesn't seem to be a built-in way to do this.

    However, there's an Azure Log Analytics connector in Power Automate. You can try to setup a flow using the Azure Log Analytics and Azure DevOps connectors in Power Automate. The flow will be triggered when the Azure Log Analytics query based alert is trigged.

    You need to call the Work Items - Create REST API in flow to create the bug. More information please reference Add an Attachment in Azure Dev Ops using MS Flow and Azure DevOps Integration (via Microsoft Power Automate)

    enter image description here

    enter image description here