> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/jira/create-user-on-jira-cloud.md).

# Create User on Jira Cloud

Creates one new user on a Jira Cloud site by calling the Atlassian user API with the email address and product access you enter. The job does not read user data from the collected assets.

### Before you begin

* An Atlassian site domain, an admin email and an Atlassian API token of that admin.
* Any product you list must be active and licensed on your Atlassian site (admin.atlassian.com).
* Accepted asset type: `user`. No required columns.
* Defaults you saved for this job in [Action Center Settings](broken://pages/c24f789e38de30d1826122b3a82f349153f232b9) pre-fill the node form. Options you leave out are filled from them when you save the node.

### Settings

These are the fields of the job node form.

| Setting                  | Type | Required | Default | Description                                                                                                                                              |
| ------------------------ | ---- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Your Atlassian Domain    | Text | Yes      | None    | Your Atlassian site domain, for example `company-name` (the part before `.atlassian.net`).                                                               |
| Jira API Token           | Text | Yes      | None    | Atlassian API token for Basic authentication. Secret, but shown as plain text (not masked).                                                              |
| Admin Email              | Text | Yes      | None    | Admin email address used for authentication.                                                                                                             |
| New User's Email Address | Text | Yes      | None    | Email address of the user to create.                                                                                                                     |
| User's Accessed Products | Text | No       | None    | Comma separated list of products. Valid values: `jira-core`, `jira-servicedesk`, `jira-product-discovery`, `jira-software`. Leave empty for no products. |

### How it works

* The job sends one `POST` to `https://<domain>.atlassian.net/rest/api/3/user` with the email address and the product list, authenticated as the admin.
* The values are fixed per node. The job creates the same single user whatever the collected assets are.
* An unknown product name is rejected when you save the node.
* If Jira does not accept the request, the job fails with `Jira create user failed with status <code>` and the response text.
* The assets pass on to the next node unchanged.

### Example

Create a user with access to Jira Software only.

| Setting                  | Value                  |
| ------------------------ | ---------------------- |
| Your Atlassian Domain    | `example`              |
| Jira API Token           | `YOUR_API_TOKEN`       |
| Admin Email              | `admin@example.com`    |
| New User's Email Address | `new.user@example.com` |
| User's Accessed Products | `jira-software`        |

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/08e1c051f3c3fc15c184408533696e2939698d56">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values for this job.</td><td><a href="broken://pages/c24f789e38de30d1826122b3a82f349153f232b9">Broken link</a></td></tr><tr><td><strong>Create User on Jira Self-Hosted</strong></td><td>The same job for Jira Self-Hosted.</td><td><a href="broken://pages/1b80576f2f4c02286840bf00e1531b7c84890127">Broken link</a></td></tr><tr><td><strong>Delete User on Jira Cloud</strong></td><td>Delete users on Jira Cloud.</td><td><a href="broken://pages/6a9fb767d60d4d968f80f4e5d5a4bf2c38f24158">Broken link</a></td></tr></tbody></table>

{% hint style="info" %}
Available starting from version 6.4.0.
{% endhint %}
