jira.js
    Preparing search index...

    Function createExternalLinkedTeam

    • Creates an external linked team, and membership will be synced with the external reference.

      Parameters

      • client: Client
      • parameters: {
            description: string;
            externalReference: {
                id: string;
                source: string & {} | "ATLASSIAN_GROUP";
                [key: string]: unknown;
            };
            orgId: string;
            siteId?: string
            | null;
        }
        • description: string
        • externalReference: { id: string; source: string & {} | "ATLASSIAN_GROUP"; [key: string]: unknown }
        • orgId: string

          The ID of the organisation the team is to be created under.

        • OptionalsiteId?: string | null

          [Deprecated] Omitting siteId is deprecated. With the introduction of Units, orgId alone is no longer sufficient to resolve the scope of teams. Always provide a valid siteId to ensure this operation continues to work in the future.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              creatorId?: string
              | null;
              description: string;
              displayName: string;
              externalReference?:
                  | {
                      id: string;
                      source: string & {}
                      | "ATLASSIAN_GROUP"
                      | "HRIS";
                      [key: string]: unknown;
                  }
                  | null;
              organizationId: string;
              state: string & {}
              | "ACTIVE"
              | "ARCHIVED";
              teamId: string;
              teamType:
                  | string & {}
                  | "EXTERNAL"
                  | "OPEN"
                  | "MEMBER_INVITE"
                  | "ORG_ADMIN_MANAGED";
              userPermissions: {
                  ADD_MEMBERS: boolean;
                  DELETE_TEAM: boolean;
                  REMOVE_MEMBERS: boolean;
                  UPDATE_TEAM: boolean;
                  [key: string]: unknown;
              };
              [key: string]: unknown;
          },
      >