Rally updating Team Members to Project

穿精又带淫゛_ 提交于 2019-12-11 04:39:47

问题


I have looked at "How can I update Rally team membership?" but couldn't figure out how it works for Ruby Rally WSAPI. So this is my update query when I try to update team membership for a Project

#team is an array that consists of RallyAPI (user) objects.
@rally.update("project",project_ref,team)

My question is about the project_ref that I am passing as an identifier for the project to be updated, is it the "_ref" that we have to pass to this query or the "ObjectID" of the project, for the update query to work?

I get this error when I try

@rally.update("project",project["_ref"],team)

not authorized to perform action: invalid key

On trying this:

@rally.update("project","_ref|#{project["_ref"]}",team)

I get the same error. When I tried this query:

@rally.update("project","ObjectID|#{project["ObjectID"]}",use_array)

I get an error as "Could not find webservice for '...'using request method "POST", However a service does exist at the path using method "GET".

来源:https://stackoverflow.com/questions/19325098/rally-updating-team-members-to-project

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