It's all about the answers!

Ask a question

query children or esolvedby


Susan Hanson (1.6k2201194) | asked Mar 13 '12, 8:34 a.m.
Is there any way to query for Work Items that have no defined "Links" (children, Resolved By)? For example, we need to query a User Story that has no tasks defined as children. Or Epics that have no User Stories.

Thanks,
Susan

2 answers



permanent link
Christophe Lucas (86234948) | answered Mar 13 '12, 9:36 a.m.
Is there any way to query for Work Items that have no defined "Links" (children, Resolved By)? For example, we need to query a User Story that has no tasks defined as children. Or Epics that have no User Stories.
Thanks,
Susan

You must select the 'Show links' check-box when you 'Add conditions' to the query ...
For your 'User Story that has no tasks defined as children', something like:
1) Type is 'Story', 2) Children 'do not exist' .... 3) Children>Type is 'Task'

permanent link
Susan Hanson (1.6k2201194) | answered Mar 13 '12, 10:37 a.m.
Brilliant!!!
Thanks!

Is there any way to query for Work Items that have no defined "Links" (children, Resolved By)? For example, we need to query a User Story that has no tasks defined as children. Or Epics that have no User Stories.
Thanks,
Susan

You must select the 'Show links' check-box when you 'Add conditions' to the query ...
For your 'User Story that has no tasks defined as children', something like:
1) Type is 'Story', 2) Children 'do not exist' .... 3) Children>Type is 'Task'

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.