How to create custom DevOps workitem using azure ApplicationInsights Alerts(custom-log search) and Azure functionApp
Continuation of this flow - https://learn.microsoft.com/en-us/answers/questions/968858/azure-alertscustom-log-search-how-to-get-custom-di.html
I am new to this kind of stuff,
I have configured Alert(Custom-log) in Application-Insights, alert got fired when my API throws error or exception.
In Action-groups, i have configured Action-type as webhook and passed functionApp url into webhook. In Azure functionApp i have written all logics to create workitem in DevOps boards - this was the overall flow
In my case when i test the functionApp url along with Alert payload requestbody from the POSTMAN,it was working fine and workitem has been created in DevOps boards but the same when i run through the Alerts,workitem is not even creating in DevOps.
any best way to achieve this or alternate method