Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admGetNotificationScheme(name, id)

Package

adm

Alias

Pkg Usage

notificationScheme(name, id)

Description

Excerpt
hiddentrue
Retrieves a breakdown of events and notifications for a notification scheme.

...

Example

Code Block
languagejs
JIssueNotificationScheme [] allNotifSchemesJNotificationScheme noteScheme = allNotificationSchemesadmGetNotificationScheme();"Default JIssueNotificationScheme oneNS;
JIssueNotificationScheme twoNS;
if(size(allNotifSchemes) > 0) {
integer nId = allNotifSchemes[0].id;
string nName = allNotifSchemes[0].name;
oneNS = notificationScheme(nId);
twoNS = notificationScheme(nName);
}Notification Scheme", 11000);
runnerLog("Id: " + noteScheme.id);
runnerLog("Name: " + noteScheme.name);
runnerLog("Description: " + noteScheme.description );

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "notification_admin_routinefunction" and space = currentSpace ( )
labelsarray_routinesfunctions