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


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getAllSDProjects() | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns a string array of projects keys that are Jira Service Desk type projects.

Returns a string array of projects keys that are Jira Service Desk type projects.

## Return Type

**String []**

## Example

```javascript
string [] jsdProjects = getAllSDProjects();
for(string jsdp in jsdProjects) {
    JProject proj = admProjectProperties(jsdp);
    runnerLog(proj.name);
}
```

Returns a list of Jira Service Desk project names.

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)