jira.js
    Preparing search index...

    Function getUserEmail

    • Returns a user's email address regardless of the user's profile visibility settings. For Connect apps, this API is only available to apps approved by Atlassian, according to these guidelines. For Forge apps, this API only supports access via asApp() requests.

      Parameters

      • client: Client
      • parameters: { accountId: string }
        • accountId: string

          The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

      • Optionaloptions: RequestOptions

      Returns Promise<{ accountId?: string; email?: string; [key: string]: unknown }>