Atlassian Application Integration Setup
Getting started
BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.
Requirements:
Atlassian Service Account API Token
Atlassian Organization ID
Atlassian Organization API Key
Connecting via Service Account Access Token
Getting credentials from Jira Cloud
The extractor supports both scoped and unscoped API tokens.
Create API token
Go to Atlassian Administration.
If you are part of multiple organizations, select the desired organizations
In the sidebar, expand Directories and select Service Accounts

Select the Service Account you want to use.
Choose Create Credentials > API token
Give the API token a name. Then, select the following scopes:
read:jira-work read:jira-user read:permission:jira manage:jira-configuration read:confluence-user read:confluence-groups read:confluence-space.summary read:space:confluenceCopy the token and store it securely.
Required App (Jira/Confluence) permissions for Service Account
In order to use the above scopes, the service account must have Jira Administrator (site-level) and Confluence Administrator (site-level) on all the Jira and Confluence apps required to be discovered.
This means it must be part of those apps with App Admin / User Access Admin permissions.

Get your Organization Admin Token
Navigate to Atlassian Administration.
Expand Organization Settings in the sidebar, and click on API keys:

Click on Create API key.
Atlassian provides two types of API keys:
Scoped API keys – Grant access only to the organization APIs and permissions explicitly selected.
Unscoped API keys – Grant access to all organization APIs available to the organization administrator who created the key.
Choose the API key type based on the functionality you want to enable.
Option 1: Read-Only Scopes:
If you only need to discover and import data from Atlassian (users, groups, workspaces, credentials, etc.), create a Scoped API key and select the following Fine-Grained scopes:
In addition to the scopes listed above, the below Fine-Grained scopes must be enabled to ensure discovery of Atlassian Credentials.
Copy and save the key to a secure location. Your organization ID is also available here.
Get your Organization ID
Your Organization ID should have been displayed in the previous step while creating the Organization API key. If you did not note it down, you can retrieve it like so:
Navigate to Atlassian Administration.
If you belong to multiple organizations, select the desired organization.
Once the organization dashboard loads, check the browser address bar for the URL.
The Organization ID is the value that appears after
/o/in the URL.
For Example,
If your URL is https://admin.atlassian.com/o/ORGANIZTION-ID/overview the site name is ORGANIZATION-ID .
Config format
token:
EMAIL:API_TOKEN(email of the Jira user + colon + API token)orgId: Organization ID from your Atlassian Administration URL.
orgAdminToken: Organization Admin token.
Configuring Atlassian in your BalkanID tenant
Login to the BalkanID application and switch to the tenant you would like to add your integration to.
Head to Integrations > Add Integration, select Atlassian.


Set up the Primary Application owner (mandatory) and the Description, if any. Set up Secondary Application Owner(s), if any.
Select the Extraction Type. From here, you can configure your application using one of the following methods:
Direct integration - Provide your Atlassian API Token, Organization ID and Organization API Token obtained above to set up a direct connection with BalkanID.

Note: When setting up Atlassian API Token, format it as
serviceaccountid@example.com:my-api-token, using the service account email associated with the token.Click on next to move onto Optional Configuration.
Fill Optional configuration, if required.

Once you filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status will read Connected and the integration Message will read Data available.
Last updated
Was this helpful?

