RallyDev - Requesting List of Iterations for a Users DefaultProject

Using the RallyDev Web Services API v2.0 I would like to request the iterations for a users default project.

I can do this now by first calling:

https://rally1.rallydev.com/slm/webservice/v2.0/iteration:current?pretty=true

Parsing out Iteration->Project->Ref, and then calling calling:

https://rally1.rallydev.com/slm/webservice/v2.0/project/[ProjectID]/Iterations?pretty=true
or
https://rally1.rallydev.com/slm/webservice/v2.0/iteration?query=(Project.Oid=[ProjectID])&pretty=true

Wondering if there is a better way?

I saw UserProfile had DefaultProject and DefaultWorkspace, but I couldn't figure out how to use them as fetching just returned 'null'.

Answers


Your queries on Iteration are spot on for looking up Iterations for a particular Project. Note that for UserProfile - the Default Workspace/Project settings are not required fields. They are empty unless the User has explicitly set these in his or her profile settings. Only the user him/herself can set these - a (Workspace/Subscription) Administrator cannot set them on behalf of the User. So if you're getting empty values back for these, it is likely because the User of concern does not have the Default Workspace/Project set.


Need Your Help

how to collect the data from database in array and then put that data for each row of table view in objective-c

iphone objective-c

i want to collect the data from database in the array and then after put that in each cell of the table view.

Find an algorithm in RBTREE in O(logn)

algorithm binary-tree red-black-tree

I need to find a data structure which I can do with the following actions: