jira.js
    Preparing search index...

    Function updateTeam

    • This will only update the fields that get passed in and leave the rest as unmodified.

      Parameters

      • client: Client
      • parameters: {
            description?: string | null;
            displayName?: string | null;
            orgId: string;
            teamId: string;
        }
        • Optionaldescription?: string | null
        • OptionaldisplayName?: string | null
        • orgId: string

          The ID of the organisation the team to be updated belongs to.

        • teamId: string

          The ID of the team to be updated.

      • 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;
          },
      >