jira.js
    Preparing search index...

    Function getNotificationSchemeToProjectMappings

    • Returns a paginated mapping of project that have notification scheme assigned. You can provide either one or multiple notification scheme IDs or project IDs to filter by. If you don't provide any, this will return a list of all mappings. Note that only company-managed (classic) projects are supported. This is because team-managed projects don't have a concept of a default notification scheme. The mappings are ordered by projectId.

      Permissions required: Permission to access Jira.

      Parameters

      • client: Client
      • Optionalparameters: {
            maxResults?: string;
            notificationSchemeId?: string[];
            projectId?: string[];
            startAt?: string;
        }
        • OptionalmaxResults?: string

          The maximum number of items to return per page.

        • OptionalnotificationSchemeId?: string[]

          The list of notifications scheme IDs to be filtered out

        • OptionalprojectId?: string[]

          The list of project IDs to be filtered out

        • OptionalstartAt?: string

          The index of the first item to return in a page of results (page offset).

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              isLast: boolean;
              maxResults: number;
              nextPage?: string;
              self?: string;
              startAt: number;
              total: number;
              values: {
                  notificationSchemeId?: string;
                  projectId?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >