Rohan Dalvi
Rohan Dalvi

Reputation: 1265

Find Rally Workspace and Project OID

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?

Upvotes: 4

Views: 6360

Answers (1)

nickm
nickm

Reputation: 5966

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: [email protected]

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

Upvotes: 6

Related Questions