rally - Lookback API _ProjectHierarchy not returning defects for child project -
i need defects particular project , of children.
the rally lbapi documentation says:
for project hierarchy project 7890 project 6543 project 3456 retrieve work items in project 7890 or of child projects, include clause in query: "_projecthierarchy": 7890
but doing in below query
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
only return defects project 12345 none of child projects.
i have read lookback api _projecthierarchy not scoping down, says same thing written in doc.
is there else missing?
the release oid differs every project specifying single release (9999) limiting results single project. accomplish same thing you'll get oids matching releases project scope want.
Comments
Post a Comment