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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | setPersistentVar([issue, ]varName, value) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Sets the persistent var, as a string

Sets the persistent var, as a string

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| issue | String | No | the issue key |
| varName | String | Yes | the variable introduced via 'persistent' keyword |
| value | String | Yes | the value, as a string |

## Return Type

**None**

## See also

> Macro (contentbylabel)