我需要获取特定项目及其所有子项目的所有缺陷。
Rally LBAPI文档说:
For a project hierarchy like
Project 7890
Project 6543
Project 3456
to retrieve all work items that are in Project 7890 or any of its child projects,
you would simply include this clause in your query:
"_ProjectHierarchy": 7890
但是在下面的查询中这样做
https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/XXX/artifact/snapshot/query.js?find={"_ProjectHierarchy":12345,"_TypeHierarchy": "Defect","__At": "current","Release":9999}&fields=["FormattedID","Name","State","OpenedDate","ClosedDate"]&hydrate=["State"]&sort={"FormattedID":1}&start=0&removeUnauthorizedSnapshots=true
仅返回项目 12345 的缺陷,但不返回其子项目。
我还阅读了 Lookback API _ProjectHierarchy not scoping down,但它说的是文档中写的相同内容。
还有什么我想念的吗?