---
title: "getNotStartedSprints"
canonical: "https://support.appfire.com/space/PSJC/560858284/getNotStartedSprints"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Retrieves information about sprints that have not yet started.

Retrieves information about sprints that have not yet started, helping to identify upcoming work periods.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getNotStartedSprints(boardId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| boardId | Integer | Yes | The board id |

## Return Type

**[JSprint []](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

Returns the future sprints structures.

## Example

```javascript
JSprint [] sprints = getNotStartedSprints(12345);
for(JSprint s in sprints) {
    runnerLog("Id: " + s.id);
    runnerLog("Name: " + s.name);
}
```

> ⚠️ 1. If there is no board with that name or id, an exception will be raised.
> ⚠️ 2. The user must have sufficient permissions to view the board.

## See also

> Macro (contentbylabel)