Our workflow defines that we place tasks with tags like "TEST" or "DEV" inside stories in order to track what type of work remains for that story. I'm trying to write a query that would filter out stories that have only TEST tasks still not completed. For example:
Story A has 2 tasks: TEST and DEV. TEST's state is to-do. DEV's state is In-Progress.
Story B has 2 tasks: TEST and DEV. TEST's state is to-do. DEV's state is completed.
Story C has 1 task: TEST. TEST's state is to-do.
Story D has 1 task: TEST. TEST's state is completed.
Story E has 1 task: DEV. DEV's state is to-do.
The query I am looking for would return stories B and C only.
Is this possible with vanilla TFS? Are there extensions that allow for more complex queries?
Thanks.