For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Go to Atlassian Administration.

    1. If you are part of multiple organizations, select the desired organizations

    2. In the sidebar, expand Directories and select Service Accounts

    3. Select the Service Account you want to use.

  2. Choose Create Credentials > API token

  3. 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:confluence
  4. Copy 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

  1. Navigate to Atlassian Administration.

  2. Expand Organization Settings in the sidebar, and click on API keys:

  3. Click on Create API key.

  4. 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.

    • Option 2: Lifecycle Management (Provisioning)

      If you plan to use provisioning or other lifecycle management features, create an Unscoped API key. An unscoped API key has the required manage:org permission, which is necessary for lifecycle operations such as provisioning.

  5. 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:

  1. If you belong to multiple organizations, select the desired organization.

  2. Once the organization dashboard loads, check the browser address bar for the URL.

  3. 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

  1. Login to the BalkanID application and switch to the tenant you would like to add your integration to.

  2. Head to Integrations > Add Integration, select Atlassian.

  1. 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:

    1. 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.

  2. Click on next to move onto Optional Configuration.

  3. Fill Optional configuration, if required.

  4. 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?