如何根据Release Name或OID查询Rally的Lookback API?
How to query Rally's Lookback API based on Release Name or OID?
我正在使用 Rally Ruby Lookback Connection Helper 查询 Rally 的回顾 API 使用 Ruby。
这是我的 query_obj
:
query_obj = {
"find" => {
"_ProjectHierarchy": [ProjectObjectID here],
"_TypeHierarchy" => "Defect",
"Release" => [ReleaseObjectID here],
"__At": [DateTime here]
},
"fields" => ["Severity", "State", "Name", "Release"],
"start" => 0,
"pagesize" => 1000,
"hydrate": ["Severity", "State", "Release"]
}
我知道其他一切都有效,因为我在不使用附加发布参数进行查询时一直在使用此查询。如果有人知道要与发布对象 ID 配对的关键字,那将非常有帮助。谢谢!
糟糕,我犯了一个简单的错误,但我会 post 以防万一其他人试图做同样的事情:项目 OID 必须与项目中的项目相同发布您要查询的内容。或者更好的是,只需删除项目参数!
我正在使用 Rally Ruby Lookback Connection Helper 查询 Rally 的回顾 API 使用 Ruby。
这是我的 query_obj
:
query_obj = {
"find" => {
"_ProjectHierarchy": [ProjectObjectID here],
"_TypeHierarchy" => "Defect",
"Release" => [ReleaseObjectID here],
"__At": [DateTime here]
},
"fields" => ["Severity", "State", "Name", "Release"],
"start" => 0,
"pagesize" => 1000,
"hydrate": ["Severity", "State", "Release"]
}
我知道其他一切都有效,因为我在不使用附加发布参数进行查询时一直在使用此查询。如果有人知道要与发布对象 ID 配对的关键字,那将非常有帮助。谢谢!
糟糕,我犯了一个简单的错误,但我会 post 以防万一其他人试图做同样的事情:项目 OID 必须与项目中的项目相同发布您要查询的内容。或者更好的是,只需删除项目参数!