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


## Description

> Macro (excerpt)
> 
> Retrieves the mappings between notification schemes and projects

Retrieves the mappings between notification schemes and projects.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetNotificationProjectMappings([notificationSchemeId, projectIds]) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | getNotificationProjectMappings([notificationSchemeId, projectIds]) |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| notificationSchemeId | integer [] | No | The ids of the notification schemes to be filtered. |
| projectIds | integer [] | No | The ids of the projects to be filtered. |

## Return Type

**[JIssueNotificationSchemeProjectMapping](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

## Example

```javascript
JIssueNotificationSchemeProjectMapping[] mappings = admGetNotificationProjectMappings();
int indexCC = 1;
for(JIssueNotificationSchemeProjectMapping mapping in mappings) {
    runnerLog("---mapping " + indexCC + "---");   
    runnerLog("notificationSchemeId = " + mapping.notificationSchemeId);
    runnerLog("projectId = " + mapping.projectId);
    indexCC++;
}
runnerLog("--------------");
```

## See also

> Macro (contentbylabel)