It's all about the answers!

Ask a question

Work item queries


Jeff Foege (45266960) | asked Sep 14 '11, 12:42 a.m.
I'm totally confused!!

When doing a search on status and only selecting the status of Defect workitem shouldn't it only show me defects of the status I selected?

The status condition for queries lists all the workitems that are defined in Types & Attributes section. I only have Defect selected and New but when I run the query it shows me defects and tasks.

Please someone set me straight.

Thanks!

2 answers



permanent link
Linda Gricius (6812122) | answered Sep 19 '11, 6:57 p.m.
If you want to select Defects only, you need to use the Type attribute, not the Status attribute.

permanent link
Jeff Foege (45266960) | answered Sep 19 '11, 7:04 p.m.
If you want to select Defects only, you need to use the Type attribute, not the Status attribute.


I've figured that out but honestly if I'm selecting a status of a defect then it should only show me the status of what I selected. Whats the point of listing all the statuses for the workflows if it just uses the status and not the workitem type?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.