Skip to content

Create Azure DevOps Work items directly from Application Insights

Application Insights can be integrated into Azure DevOps, so that developers can create bug work items directly from Application Insights without copy-pasting any of the exception details.

First we need to integrate our Application Insights instance with our DevOps instance. This is done through Azure Portal > Application Insights settings > Work Items

URL is the root url of your Azure DevOps project. For example https://dev.azure.com/OrganizationX
Project of course defines where the bug work items are created and Area can be used to put bugs into correct team/work item area.
After all settings are in place, remember to push the Authorize button in the middle.

Work items can be created manually directly from the exception details page. Just click the Create Work Item button on the top when Exception details are open.

The title, area, work item type and details are automatically filled, but you can manually change them to correctly describe the error.

New work item is created under the defined Area path and can be viewed from Azure Devops or from Application Insights. The work item description contains two links that goes back to Application Insights, so that developer can easily find the original exception and look for more details if needed.

If manual labor is not your thing, you can automate the work item creation with Application Insights > Monitoring > Alerts > Manage Alert Rules feature. Create new alert rule for exceptions and create the Azure DevOps integration with a new Logic App.