-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
Description
Hi can someone post a code snippet for work item creation? When I do the following, I get an error on the JsonPatchObject.
op = WorkItemFieldOperation(name='add')
jsonPatch = JsonPatchOperation(from_=None,op=op,path="/fields/System.Title",value="Test")
tWorkItem = work_tracker_client.create_work_item(document=jsonPatch,project="BlueKC_Test",type='Epic',validate_only=None, bypass_rules=None, suppress_notifications=None,expand=None)
get this error:
TypeError: 'JsonPatchOperation' object is not iterable
Thanks!