We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following cut-down code:
from vsts.work.v4_1.models.team_context import TeamContext work_client = connection.get_client('vsts.work.v4_1.work_client.WorkClient') _project_id = <GUID> _team_id = <GUID> team = TeamContext(project_id=_project_id, team_id=_team_id) work_client.get_backlogs(team_context=team)
WorkClient methods (and others) that take a TeamContext class do the following:
if team_context is not None: if team_context.projectId: project = team_context.project_id
..which results in the AttributeError in title; it should be checking team_context.project_id instead.
Or am I missing something? Cheers!
The text was updated successfully, but these errors were encountered:
I was coming here to ask the same question.
it seems like every method in the workClient class is performing the same
if team_context.proejctId:
if you can get passed that call you run into a second check that gives you the same error: if team_context.teamId: team = team_context.team_id
Sorry, something went wrong.
Thanks for reporting this issue. The fix is in #120
https://github.com/Microsoft/vsts-python-api/releases/tag/0.1.17
Great - thanks!
tedchamb
No branches or pull requests
Consider the following cut-down code:
WorkClient methods (and others) that take a TeamContext class do the following:
..which results in the AttributeError in title; it should be checking team_context.project_id instead.
Or am I missing something? Cheers!
The text was updated successfully, but these errors were encountered: