jira.js
    Preparing search index...

    Function getServiceDeskOrganizations

    • This method returns a list of all organizations associated with a service desk.

      Permissions required: Service desk's agent.

      Parameters

      • client: Client
      • parameters: { accountId?: string; limit?: number; serviceDeskId: string; start?: number }
        • OptionalaccountId?: string

          The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

        • Optionallimit?: number

          The maximum number of items to return per page. Default: 50. See the Pagination section for more details.

        • serviceDeskId: string

          The ID of the service desk from which the organization list will be returned. This can alternatively be a project identifier.

        • Optionalstart?: number

          The starting index of the returned objects. Base index: 0. See the Pagination section for more details.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              _expands?: string[];
              _links?: {
                  base?: string;
                  context?: string;
                  next?: string;
                  prev?: string;
                  self?: string;
                  [key: string]: unknown;
              };
              isLastPage?: boolean;
              limit?: number;
              size?: number;
              start?: number;
              values?: {
                  _links?: { self?: string; [key: string]: unknown };
                  created?: {
                      epochMillis?: number;
                      friendly?: string;
                      iso8601?: string;
                      jira?: string;
                      [key: string]: unknown;
                  };
                  id?: string;
                  name?: string;
                  scimManaged?: boolean;
                  uuid?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >