简体   繁体   中英

Context scoping using the Rally RPM

Recently, I created a RPM treepanel, using the Rally SDK 2.0, which allows the user to select several portfolio items from the tree. What I would like to do is use a WsapiDataStore call to pull all the User Stories which are scoped below the selected RPM level(s). When I was using a project selector, this was as easy as setting the context attribute in the call like so:

context: {
    project: '/project/' + projectObjectID;
}

If I do this using the RPM project IDs it doesn't seem to function in the same way. Is there a way for me to specify a context using RPM project nodes?

Unfortunately there isn't a context scoping that will accomplish this - right now the only way to query the relationship would be to recursively walk the child "tree" of a particular Artifact.

Lookback API will make this much easier, by making it possible to grab the entire hierarchy of parent/child objects with a single query - see the answer to this question:

Lookback API: Find all leaf node stories under a known parent

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM