rally - InvalidRallyTypeNameError -


am trying access rally through rally api key, , able connect rally. when tried list of user stories under project, getting invalidrallytypenameerror.

here code connect rally

rally=rally(server="rally1.rallydev.com", apikey="myapikey", workspace='myworkspace',projectc='helloworld')

to list of stories under project

response=rally.get("project", fetch=false, limit=10) //here getting error 

please let me know, getting wrong.

to user stories in project hit hierarchicalrequirement endpoint , scope project. here curl example, zsessionid set apikey, , 678 placeholder project's objectid:

curl --header "zsessionid:_abc123" -h "content-type: application/json" https://rally1.rallydev.com/slm/webservice/v2.0/hierarchicalrequirement?project=/project/678 

regardless of language or api tookit choice, have query on hierarchicalrequirement object. toolkits may allow using 'userstory' or 'story' alias, in ws api object model user story referred hierarchicalrequirement. also, project not have user stories collection attribute.

when using python toolkit rally, pyral this

response = rally.get('hierarchicalrequirement', query=criterion, fetch=fields, order="formattedid") 

where can limit criteria project.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -