How to: Create a Work Item for a Managed Code Defect
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
You can use the work item tracking feature to log work item from within Visual Studio Premium. To use this feature, your project must be part of Team Project in Team Foundation.
To create a work item for managed code defect
In the Code Analysis window, select the warning.
Choose Actions, then choose Create Work Item and choose the type of work item to create.
A new work item is created for you to specify the defect information.
To create a work item for multiple managed code defects
In the Error List, select multiple warnings, and then right-click the warnings.
Point to Create Work Item and click the type of work item to create.
A single work item is created for all the selected warnings for you to specify the bug information.