Rally webservices api v 1.36 <OperationResultError>Could not update: Could not write changes in Unit Of Work</OperationResultError>

橙三吉。 提交于 2019-12-25 01:25:13

问题


I am using rally webservices api v 1.36 and I am getting this error when I try to create a new rally item.Could not update: Could not write changes in Unit Of Work. Code was working fine a week back but now it is not working. I am using ruby gem rally_rest_api. Thanks in advance.


回答1:


Try to use an equivalent curl command or hit the endpoint using a browser REST client to see if you get the same error. Use the current v2.0 of WS API. If you get the same error, post your create URL here, otherwise there is no enough information to know what is happening. Try curl or browser REST client with the payload equivalent to the attribute settings you do in your Ruby code.

To narrow it down you may also reduce the number of attribute you set and see when it starts working, if ever. For example if you create a user story and the only required field is Name, try to create a story while only setting the Name and see if that succeeds, and keep adding attributes until you replicate the error.

rally_rest_api is no longer supported, it is old. The same goes for 1.36 of WS API. See deprecation schedule here. There is new Ruby REST toolkit that uses rally_api gem.



来源:https://stackoverflow.com/questions/27232942/rally-webservices-api-v-1-36-operationresulterrorcould-not-update-could-not-w

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!