Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAvailability

This routine is available starting with SIL Engine 4.8.0.8.

...

admGetNotificationSchemeByName(notificationSchemeName)

Description

Excerpt

Update one ore more attributes for the provided filter. Retrieves breakdown of events and notifications for a provided notification scheme.

Parameters

Parameter name

Type

Required

Description

notificationSchemeName

string

trueYes

The name of the notification scheme

Return type

boolean

Returns true if the filter was updated. False otherwise.

Example

...

JGeneric[]

Returns an array of key/value pair representations of a notification scheme, where the key is the event name that triggers the notification and the value is a pipe (|) delimited list notification events.

If the notification has a designated parameter associated to the notification, then the parameter will be added to the end of the notification type separated by a dash.

     Example: Group_Dropdown - jira-administrators

Example

Code Block
string notificationSchemeName = "Default Notification Scheme";
JGeneric[] notifications = admGetNotificationSchemeByName(notificationSchemeName);
return notifications;