yuris yuris - 2 months ago 12
reST (reStructuredText) Question

Get of IterationCumulativeFlowData of current iteration that belongs to a project

Is it possible to get 'IterationCumulativeFlowData' of current iteration that belongs to specific project name?

This gives me data for aberration by I must provide the iteration id:

https://rally1.rallydev.com/slm/webservice/v2.0/IterationCumulativeFlowData?&query=(IterationObjectID = 11111111)&fetch=true&pretty=true

I want to avoid that, by passing only the name of the project...

If it's not possible, how can I get the iteration of id of current iteration that belongs to specific project?

https://rally1.rallydev.com/slm/webservice/v2.0/iteration?query=(Project.name = "xxxxx")&fetch=ObjectID&pretty=true

the above gives me all iterrations that belong to the project but I need current one.

Answer Source

There's a special current iteration endpoint:


You can't query it by project name, but you can specify the project by its object id.

Or, if you need it by project name then you can just do what you're doing in your second url above, but just also tack on additional filters for ((StartDate < today) AND (EndDate > today)).