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


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

## Description

> Macro (excerpt)
> 
> Returns the list Priority Scheme names that exist in the Jira environment.

Returns the list Priority Scheme names that exist in the Jira environment.

## Return Type

**String []**

The requested names of all pritority schemes.

## Example

```
string [] pSchemes = admGetAllPrioritiesScheme();
for(string pName in pSchemes) {
	runnerLog(pName);
	// Default priority scheme
	// TEST - Jira Service Desk Priority Scheme
}
```

## See also

> Macro (contentbylabel)