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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | updateBoard(board, newName, [filterId]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Update the provided board.

Update the provided board.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| board | String | Yes | The name or the id of the board to be updated. |
| newName | String | Yes | The new name of the board. |
| filterId | Number | No | The id of the saved filter. |

## Return Type

**Boolean**

True if the board was successfully updated.

## Example

```
boolean isUpdated = updateBoard("Demo", "UpdatedDemo", 10200);
```

Result: The result will update the filter for the "Demo" board and will change its filter with the one corresponding to the id 10200. 

## See also

> Macro (contentbylabel)

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