The user details.

interface CreateUser {
    emailAddress: string;
    key?: string;
    name?: string;
    password?: string;
    products?: string | string[];
    self?: string;
}

Hierarchy (view full)

Properties

emailAddress: string

The email address for the user.

key?: string

This property is no longer available. See the migration guide for details.

name?: string

This property is no longer available. See the migration guide for details.

password?: string

This property is no longer available. If the user has an Atlassian account, their password is not changed. If the user does not have an Atlassian account, they are sent an email asking them set up an account.

products?: string | string[]

Products the new user has access to. Valid products are: jira-core, jira-servicedesk, jira-product-discovery, jira-software. If left empty, the user will get default product access. To create a user without product access, set this field to be an empty array.

self?: string

The URL of the user.