ODBC guide

Get work item by ID


Returns a single work item by its numeric ID. Use the default project from the connection or ensure the work item exists in that project. Filter in a WHERE clause when you need one specific item for detail view or downstream logic.

SELECT * FROM WorkItems WHERE Id=1001