jira.js
    Preparing search index...

    Type Alias ServerClientConfig

    ServerClientConfig: Omit<ClientConfig, "auth" | "host"> & {
        auth?: AuthBasic | AuthBearer | AuthOAuth2Server;
        host: string;
    }

    Type Declaration

    • Optionalauth?: AuthBasic | AuthBearer | AuthOAuth2Server

      A local account, a personal access token, or OAuth 2.0 against the instance's own authorization server.

      Cloud's oauth2 is absent by design: it resolves a cloud id and routes every request through api.atlassian.com, so a client built with it never reaches the host given here.

    • host: string

      The instance to answer on, context path included. Data Center has no gateway and no cloud id.