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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | deleteSprint(sprintId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Deletes a sprint.

Deletes a sprint.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| rapidViewId | Number | Yes | The rapid view id. |

## Return Type

**Boolean**

Returns true if the sprint was deleted.

## Example

```
boolean isDeleted = deletSprint(55);
runnerLog("The sprint was deleted: "+isDeleted);
```

Result: The sprint with id 55 will be deleted and all the issues that are not completed will be returned to backlog.

## See also

> Macro (contentbylabel)

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