RallyTools / RallyRestToolkitForRuby

A toolkit wrapping Rally's REST webservice for Ruby
MIT License
47 stars 32 forks source link

Querying for an object's children #57

Open dodontommy opened 8 years ago

dodontommy commented 8 years ago

Hello - I don't see in the official Rally API docs or the readme for this gem (or even in the code, for that matter) a way to pull the children of an object from Rally.

Example: I want to pull the children PortfolioItem/Initiatives from the PortfolioItem/Drivers after I pull the Drivers from the API.

Is there a way to do this using this gem?

jpkole commented 8 years ago

This may help: http://stackoverflow.com/questions/16869602/rally-api-documentation-list-of-fields-for-portfolio-items

dodontommy commented 8 years ago

So it looks like I have to pull all of the drivers and initiatives, and then loop through each and match up the parent of the initiative to the driver, correct?

jpkole commented 8 years ago

I'm not totally sure... I'd post the question to StackOverflow.

dodontommy commented 8 years ago

Already did!

Right here

Thanks :)