It's all about the answers!

Ask a question

query children or esolvedby


Susan Hanson (1.6k2191193) | 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 (8624847) | 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.6k2191193) | 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.