jira.js
    Preparing search index...

    Function getEmailTypes

    • Returns a list of root templates mapped with Event Types. The list can be used to decide which test emails to send.

      Parameters

      Returns Promise<
          {
              emailTypes?: {
                  active?: boolean;
                  batchedNotification?: boolean;
                  eventName?: string;
                  html?: boolean;
                  id?: number;
                  templateName?: string;
                  text?: boolean;
                  [key: string]: unknown;
              }[];
              userEmailAddress?: string;
              [key: string]: unknown;
          },
      >