jira.js
    Preparing search index...

    Function linkTeamToExternalSource

    • Links an existing team to an external reference, and membership and team name will be synced with the external reference.

      Parameters

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

          The ID of the organisation the team and external reference to be linked belongs to.

        • OptionalsiteId?: string | null

          The siteId to help locate the externalReference. For example, when the externalReference is a group belonging to a site. [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.

        • teamId: string

          The ID of the team to be linked.

      • Optionaloptions: RequestOptions

      Returns Promise<void>