createNotificationScheme method

Future<NotificationSchemeId> createNotificationScheme({
  1. required CreateNotificationSchemeDetails body,
})

Creates a notification scheme with notifications. You can create up to 1000 notifications per request.

Permissions required: Administer Jira global permission.

Implementation

Future<NotificationSchemeId> createNotificationScheme(
    {required CreateNotificationSchemeDetails body}) async {
  return NotificationSchemeId.fromJson(await _client.send(
    'post',
    'rest/api/3/notificationscheme',
    body: body.toJson(),
  ));
}