Constructors

Properties

client: Client

Methods

  • Creates a user. This resource is retained for legacy compatibility. As soon as a more suitable alternative is available this resource will be deprecated.

    If the user exists and has access to Jira, the operation returns a 201 status. If the user exists but does not have access to Jira, the operation returns a 400 status.

    Permissions required: Administer Jira global permission.

    Type Parameters

    Parameters

    Returns Promise<void>

  • Creates a user. This resource is retained for legacy compatibility. As soon as a more suitable alternative is available this resource will be deprecated.

    If the user exists and has access to Jira, the operation returns a 201 status. If the user exists but does not have access to Jira, the operation returns a 400 status.

    Permissions required: Administer Jira global permission.

    Type Parameters

    Parameters

    Returns Promise<T>

  • Deletes a user. If the operation completes successfully then the user is removed from Jira's user base. This operation does not delete the user's Atlassian account.

    Permissions required: Site administration (that is, membership of the site-admin group).

    Type Parameters

    • T = void

    Parameters

    Returns Promise<void>

  • Deletes a user. If the operation completes successfully then the user is removed from Jira's user base. This operation does not delete the user's Atlassian account.

    Permissions required: Site administration (that is, membership of the site-admin group).

    Type Parameters

    • T = void

    Parameters

    Returns Promise<T>

  • Sets the default issue table columns for the user. If an account ID is not passed, the calling user's default columns are set. If no column details are sent, then all default columns are removed.

    The parameters for this resource are expressed as HTML form data. For example, in curl:

    curl -X PUT -d columns=summary -d columns=description https://your-domain.atlassian.net/rest/api/2/user/columns?accountId=5b10ac8d82e05b22cc7d4ef5'

    Permissions required:

    • Administer Jira global permission, to set the columns on any user.
    • Permission to access Jira, to set the calling user's columns.

    Type Parameters

    • T = string

    Parameters

    Returns Promise<void>

  • Sets the default issue table columns for the user. If an account ID is not passed, the calling user's default columns are set. If no column details are sent, then all default columns are removed.

    The parameters for this resource are expressed as HTML form data. For example, in curl:

    curl -X PUT -d columns=summary -d columns=description https://your-domain.atlassian.net/rest/api/2/user/columns?accountId=5b10ac8d82e05b22cc7d4ef5'

    Permissions required:

    • Administer Jira global permission, to set the columns on any user.
    • Permission to access Jira, to set the calling user's columns.

    Type Parameters

    • T = string

    Parameters

    Returns Promise<T>