jira.js
    Preparing search index...

    Function isScopeError

    • The token is valid but lacks a scope this endpoint requires.

      Distinct from isAuthError because the remedy is different: refreshing cannot help, the app needs the scope added and the user has to consent again. The API reports it as a 401 with Unauthorized; scope does not match.

      Parameters

      • value: unknown

      Returns value is ScopeError