devopshq / devopshq/tfs

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

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Python
Stars
114
Forks
26
PR merge metrics
No merged PRs in 30d

Description

https://github.com/devopshq/tfs/blob/465b83b626b984f58a9b5070014c585e4f12f454/tfs/resources.py#L160

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.