查找 Rally 工作区和项目 OID [英] Find Rally Workspace and Project OID

查看:54
本文介绍了查找 Rally 工作区和项目 OID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎是一个非常基本的问题,但我在Rally,所以在这里,我在哪里可以找到rally 中的工作区和项目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?

推荐答案

为了让其他可能想知道答案的用户受益,这里提供了几种查找 OID 的方法.其中之一是创建一个自定义页面并将此代码粘贴到 HTML 部分:

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>

自定义页面将显示 OID:

The custom page will display the OIDs:

当前工作区 ID:11111 当前项目 ID:22222 当前用户 ID:33333 当前用户名:user@co.com

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.

工作项的 URL 包含给定工作项所在项目的 OID.在此示例项目中,项目 OID 为 2222,缺陷的 OID 为 7777:

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

可以从 WS API 查询的 URL 复制工作区 OID.前往

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

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

并运行任何查询.所有查询都绑定到当前工作区,结果查询 URL 包含工作区 OID(在本例中为 1111):

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

这篇关于查找 Rally 工作区和项目 OID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆