You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Tim55667757
reinstall doha-tfs:pip install dohq-tfs, create_workitem is ok. bug update workitem is wrong.
Before reinstall doha-tfs,update workitem is ok.
workitem["State"] = "finish"
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tfs\resources.py", line 229, in setitem
raw = self.tfs.update_workitem(self.id, update_data)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tfs\connection.py", line 224, in update_workitem
payload=params)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tfs\connection.py", line 462, in send_patch
return self.__send_request('PATCH', uri, data, headers, payload=payload, underProject=project)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tfs\connection.py", line 506, in __send_request
response.raise_for_status()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:8080/tfs/test/_apis/wit/workitems/18477?api-version=1.0&api-version=1.0
https://devopshq.github.io/tfs/examples.html#create-or-copy-workitem
create_workitem return error
The text was updated successfully, but these errors were encountered: