Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admGetNotificationScheme(name, id) | Package | adm | Alias | | Pkg Usage | notificationScheme | |
Description
Excerpt |
---|
|
Retrieves a breakdown of events and notifications for a notification scheme. |
Retrieves a breakdown of events and notifications for a notification scheme.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
name | string | Yes | The name of the notification scheme. | id | integer | Yes | The ID of the notification scheme. | |
Return Type
JIssueNotificationScheme
Returns a notification scheme.
Example
Code Block |
---|
|
JIssueNotificationScheme [] allNotifSchemes = allNotificationSchemes();
JIssueNotificationScheme oneNS;
JIssueNotificationScheme twoNS;
if(size(allNotifSchemes) > 0) {
integer nId = allNotifSchemes[0].id;
string nName = allNotifSchemes[0].name;
oneNS = notificationScheme(nId);
twoNS = notificationScheme(nName);
} |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "notification_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|