---
title: "admGetAllPrioritiesScheme"
canonical: "https://support.appfire.com/space/PSJC/1182270017/admGetAllPrioritiesScheme"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Gets all the priority scheme names.

Returns the list of priority scheme names that exist in the Jira environment.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetAllPrioritiesScheme() | **Package** | adm |
| **Alias** | admGetAllPrioritySchemes | **Pkg Usage** | getAllPrioritiesScheme() |

## Return Type

**string []**

Returns the list of the priority schemes names.

## Example

### Example 1

Returns all the priorities scheme names

```javascript
return admGetAllPrioritiesScheme();
```

Default priority scheme|Test scheme|New scheme

## See also

> Macro (contentbylabel)