Credentials and data storage
Advanced User Manager for Jira uses two different Atlassian credentials. They are created in different places, they are used by different features, and they are not interchangeable. Both of them are stored by the app and reused.
Earlier versions of this documentation said that the organization admin API key "is never saved". That was wrong. The key is written to the app's Forge storage the first time you enter it, and every later activation or deactivation reuses it. Treat both credentials as long-lived secrets held by the app, and rotate them the way you would rotate any other stored key.
The two credentials at a glance
| Personal Atlassian API token | Organization API key |
|---|---|---|
Used for | Bulk-creating Jira users from a CSV. Nothing else. | Activating and deactivating accounts. Nothing else. |
Created at |
|
|
Paired with | Your Atlassian account email | Nothing — the key is used on its own |
Entered in | The Bulk-create via CSV dialog | The activate / deactivate drawer |
Stored by the app? | Yes, and reused silently | Yes, and reused silently |
1. Personal Atlassian API token — bulk-creating Jira users
Creating Jira users through the Atlassian API requires an ordinary user credential: your account email plus a personal API token. This credential is used only by Bulk-create via CSV.
Create the token
Go to
id.atlassian.com.Open Security → API tokens.
Create a token and copy it. Atlassian shows the value once.
Enter it in the app
Open the app's admin console and select Jira users in the sidebar.
Choose Add users → Bulk-create via CSV and pick your file.
If no credential is stored yet, the dialog asks for Atlassian account email and API token. The app checks the pair against Jira before saving it; if Jira rejects it you are told so and nothing is stored.
The dialog states "Stored securely for reuse", and that is exactly what happens. On every later import the app finds the stored email and token and starts the import immediately — you are not asked again.
2. Organization API key — activating and deactivating accounts
Changing an account's active state goes through Atlassian's organization user-management API, which will not accept a personal API token. It needs an organization API key created by an organization administrator.
The key must be created under API keys without scopes. The Atlassian user-management API is not covered by any scope, so a scoped key fails no matter which boxes you tick. If activation returns 403 and the key looks correct, this is almost always the reason — delete the key and create a new one without scopes.
Create the key
Go to
admin.atlassian.com.Open Settings → API keys.
Create the key under API keys without scopes and copy the value.
Enter it in the app
Open Jira users, select the accounts you want to change, and choose the activate or deactivate action from the selection bar.
The drawer shows the field Organization admin API key. Paste the key and run the action.
The app verifies the key, then stores it. Once stored, the field label reads Organization admin API key (stored) and comes pre-filled, so later runs need no typing.
Two verification outcomes are worth knowing about:
401 — Atlassian rejected the key outright. It is not stored. This normally means a personal API token was pasted instead of an organization API key.
403 — the check was inconclusive. The key is stored and the app warns you that if deactivation later fails, the key was probably created with scopes.
Activation and deactivation only ever work on managed accounts — accounts in a domain your organization has verified and claimed. A valid key does not change that.
What else the app stores
Everything below lives in the app's own Forge storage for this installation, except where noted.
Data | What it is | Where it lives |
|---|---|---|
Custom property definitions | The list of user properties you create under Configure → User properties. Each definition keeps a fixed internal id and a display name, which is why renaming a property is safe. | Forge app storage |
Property values on Jira users | The values you set through the Set properties drawer. | Jira user properties |
External user records | One record per external user: name, email address and their property values, plus an index of every external email. | Forge app storage |
Activity log | The Recent activity feed on Overview. Every mutating action appends an entry with a type, a message, the actor and a timestamp. The log keeps the 50 most recent entries. | Forge app storage |
Last-seen values | Dates from an imported Atlassian export are written onto each account as Jira user properties — one per product (Jira, Confluence, Service Management, Compass). They are not held in the app's own storage. | Jira user properties |
Both credentials | The account email and personal API token, and the organization API key. | Forge app storage |
Deleting a property definition removes the definition only. Values already written to users stay where they are; they simply stop being displayed.
Who can reach the stored credentials
Every operation in the app requires Jira administrator permission, and the resolvers that read the stored credentials enforce that check. In practice this means a stored credential is shared with every Jira administrator on this site — the organization key is pre-filled into the drawer for any of them, and any of them can run bulk-create with the stored personal token. Grant the token and the key the same care you would give a shared service account, and keep the Jira administrators group small.
Rotating the organization API key
At
admin.atlassian.com→ Settings → API keys, create a replacement key under API keys without scopes.In the console, select one account and open the activate or deactivate drawer.
Clear the pre-filled Organization admin API key field, paste the new key, and run the action. The app verifies it and overwrites the stored value.
Confirm the action succeeded, then delete the old key at
admin.atlassian.com.
Rotating the personal API token
Once a personal token is stored, the console reuses it without asking and offers no field for replacing it. Revoking that token at id.atlassian.com will therefore make Bulk-create via CSV start failing, with no way to enter a new one from the interface. If you need to replace a stored token, use Documentation & support in the console footer to have the stored value cleared, then run an import so the dialog asks for the new credential.
If a credential is exposed
An exposed personal API token can act as you across every Atlassian product you can reach. An exposed organization API key can activate and deactivate managed accounts across your whole organization. Act on both immediately.
Revoke first. Delete the personal token at
id.atlassian.com→ Security → API tokens, or the organization key atadmin.atlassian.com→ Settings → API keys. Revoking at Atlassian stops the credential working regardless of what the app still holds.Replace the stored value using the matching rotation procedure above, so the app is not left reusing a dead credential.
Check what was done with it. Review Recent activity on Overview for activations, deactivations or bulk creations you did not expect, and cross-check against the audit log in
admin.atlassian.com.Review who had access to the Jira administrators group while the credential was live.
Rotating either credential does not affect any other data. Property definitions, property values, external user records, imported last-seen dates and the activity log are all untouched.