CW0lf
CW0lf

Reputation: 29

Dynamically determine the iteration of a project - Rally SDK 1.33

I'm working on writing and displaying Rally apps outside of Rally. Does anyone know of a way to dynamically determine the iteration of a project using Rally SDK 1.33? I currently have to supply the iteration key value in the URL.

Upvotes: 1

Views: 156

Answers (1)

nickm
nickm

Reputation: 5966

If by iteration of a project you mean the current iteration, you may use this query:

query: '((StartDate <= today) AND (EndDate >= today))'

in the query object:

var queryObject = {
    key: 'it',
    type: 'iteration',
    fetch: 'Name,ObjectID,Project,StartDate,EndDate',
    query: '((StartDate <= today) AND (EndDate >= today))'
};

Upvotes: 1

Related Questions