---
title: "admGetAllPrioritySchemes"
canonical: "https://support.appfire.com/space/PSJC/1182433816/admGetAllPrioritySchemes"
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. The routine is an alias for admGetAllPrioritiesScheme routine.

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

## Return Type

**string []**

Returns the list of the priority schemes names.

## Example

### Example 1

Returns all the priorities scheme names

```javascript
return admGetAllPrioritySchemes();
```

Default priority scheme|Test scheme|New scheme

## See also

> Macro (contentbylabel)