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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getVersions(pkey) | **Package** | adm |
| **Alias** | admGetProjectVersions(pkey) //deprecated | **Pkg Usage** | getVersions(pkey) |

## Description

> Macro (excerpt)
> 
> Returns all the project versions.

Returns all the project versions.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| pkey | String | Yes | Project key. |

## Return Type

**String []**

All the project versions, unsorted, as returned by the underlying Jira layer. The order of the returned versions can be set in a separate script.

## See also

> Macro (contentbylabel)