notify method

Future notify({
  1. required String issueIdOrKey,
  2. required Notification body,
})

Creates an email notification for an issue and adds it to the mail queue.

Permissions required:

Implementation

Future<dynamic> notify(
    {required String issueIdOrKey, required Notification body}) async {
  return await _client.send(
    'post',
    'rest/api/3/issue/{issueIdOrKey}/notify',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
    },
    body: body.toJson(),
  );
}