ODBC guide

List work items for a project


Lists work items for a specific project by supplying the project name in the WITH clause. Use this when your connection default is one project but you need to query another. You can combine with a WHERE clause or a WIQL query in WITH to narrow results.

SELECT * FROM WorkItems WITH (Project='ProductTesting')