ODBC guide

List comments for a work item


Returns all comments for a single work item. Filter by WorkItemId in the WHERE clause. Use this to show discussion history for one bug, task, or story. Columns include Id, Text, RenderedText, CreatedDate, CreatedBy, and ModifiedDate.

SELECT * FROM WorkItemComments 
WHERE WorkItemId=6455