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


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

## Description

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

Gets 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 |

## Return Type

**String**

Returns the value of the persistent variable

## See also

> Macro (contentbylabel)