jira.js
    Preparing search index...

    Type Alias AssetsClientConfig

    AssetsClientConfig: Omit<ClientConfig, "host"> & {
        host?: string;
        workspaceId: string;
    }

    Type Declaration

    • Optionalhost?: string

      The Atlassian gateway, which is where Assets answers rather than on the site's own host.

      Defaults to https://api.atlassian.com. Under OAuth 2.0 it is left unset and the client derives https://api.atlassian.com/ex/jira/{cloudId} itself, as it does for every other surface.

    • workspaceId: string

      The Assets workspace this client talks to.

      A site has one, and serviceDesk.assets.getAssetsWorkspaces() is what returns it.