Closed Echo3ToEcho7 closed 12 years ago
Hi Colin - the api doesn't snake case the item types - try just :portfolioitem in the find and it should work. I could probably add snake cased symbols there too though.
That fixed it, thanks! Guess that I am still use to the rally_rest_api semantics.
Hi David,
While I know that as of 1.37 PortfolioItems are no longer a create-able type, it is still a query-able type. I get an error:
rally_api-0.7.1/lib/rally_api/rally_rest_json.rb:226:in `find': Errors making Rally Query: "Object Type portfolio_item is not query-able: inspect RallyRestJson.rally_objects for allowed types"
For now, I am manually adding {:portfolio_item => "PortfolioItem"} to the RallyRestJson.rally_objects, but should it be there by default? For me, it should act like Artifact.
Cheers, Colin