User Directory
Returns a list of all users, including active users, inactive users and previously deleted users that have an Atlassian account, associated with your Jira site.
Sync Type: Full Synchronisation
Requirements
Before you connect Monad to Jira, you need an API token, email, and a domain:
-
Log in to https://id.atlassian.com/manage-profile/security/api-tokens.
-
Select Create API token.
-
Give your API token a name that describes what it does.
-
Select an expiration date for the API token.
-
Token expiration is 1 to 365 days*
-
Select Create.
-
Select Copy to clipboard, then paste the token to your script, or save it somewhere safe.
-
Your domain name is the unique subdomain of your Jira instance. If your Jira URL is 'acme.atlassian.net', then 'acme' is the domain name.
-
The email address is the one associated with your Atlassian account used to access Jira.
*Note: When generating an API Token, please be mindful of its expiry date, as the token and its expiry is not generated by Monad. If the token expires, any inputs relying on it will result in errors. To continue, you will need to regenerate a new API Token through the UI.
Details
Monad uses the cron field to schedule the input at specific intervals, returning all users, including active users, inactive users and previously deleted users that have an Atlassian account. A full data sync is performed each time.
Configuration
The following configuration defines the input parameters. Each field's specifications, such as type, requirements, and descriptions, are detailed below.
Settings
| Setting | Type | Required | Description |
|---|---|---|---|
| string | Yes | The email address associated with your Atlassian account used to access Jira. | |
| Domain | string | Yes | This is the unique subdomain of your Jira instance. If your Jira URL is 'acme.atlassian.net', then 'acme' is the domain name. |
| Cron | string | Yes | Cron expression for scheduling the input. |
Secrets
| Secret | Type | Required | Description |
|---|---|---|---|
| Api Token | string | Yes | This is the token you generate from your Atlassian account for API access. |
Related Articles
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-search-get
Sample Record
{
"accountId": "9f50e6c78g634a9b44ihg65k",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AB-9.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/GH-6.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/IJ-6.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AB-8.png?size=48&s=48"
},
"displayName": "Jane Johnson",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=9f50e6c78g634a9b44ihg65k"
}