getAllOpenSprints

Availability

This routine is available starting with SIL Engine™ 4.8.1.

Syntax

getAllOpenSprints()

Description

Returns an array of JSprint type structs for every open sprint.

Return type

JSprint []

Returns an array of JSprint structs.

Example 1

string format = "MM/dd/yyyy"; //format for date

for(JSprint sprint in getAllOpenSprints()) {
	runnerLog("Sprint name: " + sprint.name);
	runnerLog("Sprint start date: " + formatDate(sprint.startDate, format));
	runnerLog("Sprint end date: " + formatDate(sprint.endDate, format));
	runnerLog("Sprint completion date: " + formatDate(sprint.completeDate, format));
}

See also