---
title: "sprintInfo"
canonical: "https://support.appfire.com/space/PSJ/15480852/sprintInfo"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | sprintInfo(sprint id) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Gets details about the sprint – sprint name, startDate, endDate, and completeDate.

Gets details about the sprint – sprint name, startDate, endDate, and completeDate.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| sprint id | Number | Yes | The sprint id |

## Return Type

**String []**

Returns name, startDate, endDate, and completeDate of the sprint.

## Example

```
string [] info = sprintInfo(5);
string name = info["name"]; // the name of the sprint with id 5
```

> ⚠️ If there is no sprint with such id, an empty string array will be returned.

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)