I'm trying to get the tasks of a specific iteration. I know I can get that with the iteration path or the Iteration ID. I have this query:
SELECT *
FROM WorkItems
WHERE [System.WorkItemType] = 'Task'
AND [System.IterationID] = 24138
The query works fine, but I don't have a way to get that Iteration path or the Iteration ID.
Is there a way to get the iteration ID?