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

Get TFS WI with specified fields #14

Open
allburov opened this issue Dec 1, 2017 · 3 comments
Open

Get TFS WI with specified fields #14

allburov opened this issue Dec 1, 2017 · 3 comments

Comments

@allburov
Copy link
Member

allburov commented Dec 1, 2017

Sometimes we need get TFS WI with specified fields, because we sync large amounts of data.

Like in jira:

query = jira.search_issues(jql_str="attachments is not EMPTY", json_result=True, fields="key, attachment")

WIQL needs fix too

@nobodyguy
Copy link

Have you tried WIQL?
https://github.com/devopshq/tfs#run-wiql

@allburov
Copy link
Member Author

Yep, but ### NOTE: Fields in SELECT really ignored, wiql return Work Items with all fields :(

@SAnCherepan
Copy link
Contributor

Seems to work within the [get_workitems] method (https://github.com/devopshq/tfs/blob/master/tfs/connection.py#L74).

ToDo: add fields support for WIQL.

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

No branches or pull requests

3 participants