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

WIQL: "queryType": "tree" possibly not supported? #12

Open
binaryunary opened this issue Nov 23, 2017 · 0 comments
Open

WIQL: "queryType": "tree" possibly not supported? #12

binaryunary opened this issue Nov 23, 2017 · 0 comments

Comments

@binaryunary
Copy link

self._workitems = self.tfs.get_workitems((i['id'] for i in self.result['workItems']))

The above line fails if the query type is tree.

self._workitems = self.tfs.get_workitems((i['target']['id'] for i in self.result['workItemRelations'])) fixes this, but of course, this should happen dynamically based on the query type.

Relevant API doc: https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql

@allburov allburov changed the title "queryType": "tree" possibly not supported? WIQL: "queryType": "tree" possibly not supported? Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants