Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find children of certain type where parents are of another type #141

Open
ppjmoors opened this issue Jun 16, 2021 · 1 comment
Open

Find children of certain type where parents are of another type #141

ppjmoors opened this issue Jun 16, 2021 · 1 comment
Labels

Comments

@ppjmoors
Copy link

Anyone who can help me with setting up a query-string to find the child workitems of type task where the parents are type story?
To find the parents is rather easy: "dc:type=''story".
The tricky part is finding the children of type 'task' and I'm a bit lost there

@dixudx
Copy link
Owner

dixudx commented Jun 17, 2021

To find the parents is rather easy: "dc:type=''story".
The tricky part is finding the children of type 'task' and I'm a bit lost there

Seems impossible. If you can query through the UI, then it is feasible.

RTCClient supports getting parent/child workitem, such as getChildren. As an alternative, you can query and loop all the items, then filter out desired items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants