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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | rankLast(issue key) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Moves the issue to the bottom of the list.

Moves the issue to the bottom of the list.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| issue key | String | Yes | The issue key |

## Return Type

**Boolean**

'True' if operation succeeded, 'false' otherwise.

## Example

```
boolean result = rankLast("AGILE-3");
```

> ⚠️ 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)

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