Find Workspace an Project OID

拈花ヽ惹草 提交于 2019-12-30 10:18:48

问题


This may seem to be a very basic question but I couldn't find it inside Rally, so here it is, where can I find the workspace and project OID inside rally?


回答1:


For the benefit of other users who may want to know the answer to it, here are a couple of ways of find OIDs. One of them is to create a custom page and paste this code in the HTML section:

<html>
Current Workspace ID: __WORKSPACE_OID__
Current Project ID: __PROJECT_OID__
Current User ID:  __USER_OID__
Curent User Name: __USER_NAME__
</html>

The custom page will display the OIDs:

Current Workspace ID: 11111 Current Project ID: 22222 Current User ID: 33333 Curent User Name: user@co.com

See this help document on creating custom pages.

URLs of work items contain OID of a project where a given work item resides. In this example project OID is 2222 and the defect's OID is 7777:

https://rally1.rallydev.com/#/2222d/detail/defect/7777

Workspase OID can be copied from a URL of a WS API query. Go to

 https://rally1.rallydev.com/slm/doc/webservice/

and run any query. All queries are bound to a current workspace, and the resulting query URL contain workspace OID (1111 in this example):

https://rally1.rallydev.com/slm/webservice/v2.0/defect?workspace=https://rally1.rallydev.com/slm/webservice/v2.0/workspace/1111&query=&start=1&pagesize=20


来源:https://stackoverflow.com/questions/18830709/find-workspace-an-project-oid

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