Get work items by predefined query ID
Returns work items from a saved shared or private query. Supply the query ID (from the result of the "List predefined queries" example or from the Azure DevOps query URL). Optionally specify a project and team; the query runs in that context and returns the same columns you would see in the Boards query view. Useful when you already maintain useful queries in the UI and want to pull the same result set via SQL.
SELECT * FROM get_workitems_by_query_id
WITH(
Query='e5150e18-1323-485d-8937-6991bf09ab1c' --see get_queries endpoint
, Project='Odbc'
)