jira.js
    Preparing search index...

    Function getUserEmailBulk

    • 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 IDs of the users for which emails are required. An accountId is an identifier that uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Note, this should be treated as an opaque identifier (that is, do not assume any structure in the value).

      • Optionaloptions: RequestOptions

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