azure-devops-python-api icon indicating copy to clipboard operation
azure-devops-python-api copied to clipboard

Error while trying to invoke get_work_item() to get Work Item ID, Name, Status

Open kishantec opened this issue 6 years ago • 0 comments

get_boards attribute is a part of get_work_client() function. Could you confirm get_work_item attribute is a part of which source function. Im looking to get the Work Item ID, Name and the State(active/closed) of a Work Item in Azure Devops. I get error when i try this.

for board in wit_client.get_boards(team_ctx): pprint.pprint("Board ID " + board.id) pprint.pprint("Board Name " + board.name) print(board.get_work_item(projects.id)) The Error is BoardReferenceObject has no attribute get_work_item

kishantec avatar Oct 08 '20 09:10 kishantec