Issue in getting iteration data from rally API -


i using following url iteration data rally. parse json data received.

def query = urlencoder.encode("(project.name contains \"1 prime infrastructure\")", "utf-8")

def rallyurl = "https://us1.rallydev.com/slm/webservice/v2.0/iteration?query="+query+"&fetch=true&start=1&pagesize=200"

the issue giving 0 records. when change name other project data comes.

probably because of default workspace username , password. want project data different workspace. have access workspace.

can tell how set workspace before making api call can iteration data ??

thanks,

you can include workspace parameter in url override default:

&workspace=/workspace/12345 

you can further refine results specific project:

&project=/project/12345 

or specific hierarchy:

&projectscopeup=true &projectscopedown=true 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -