Help Center> OneAccess> Best Practices> Data Synchronization> Synchronizing Data to Atlassian Through SCIM

Synchronizing Data to Atlassian Through SCIM

Introduction

System for Cross-domain Identity Management (SCIM) is designed to manage multi-tenant identities for cloud-based applications. SCIM 2.0 is built on an object model where a resource is the common denominator and all SCIM objects are derived from it. SCIM 2.0 has id, externalId, and meta as attributes. RFC 7643 defines User, Group, and EnterpriseUser that extend the common attributes. For details about SCIM, see SCIM Overview.

This section describes how to synchronize user data to Atlassian through the SCIM protocol.

Configuration Process

Configuration process

Prerequisites

  • You have an administrator account for Atlassian.
  • You have permissions to access the administrator portal.

Adding an Application

  1. Log in to the administrator portal.
  2. In the top navigation pane, choose Resources > Applications.
  3. Click Add Custom Application in the Custom Applications section, set the logo and application name, and click Save.

Configuring the Application

  1. Click the application added in Adding an Application and click the application icon on the application information page.
  2. On the application details page, choose General Information > Integration, enable synchronization, select SCIM, and click Save.

    The protocol cannot be changed once specified.

    Figure 1 Selecting a synchronization protocol

  3. Click Synchronization Settings in the left pane, and configure the synchronization parameters.

    Figure 2 Configuring synchronization parameters
    Table 1 Basic settings

    Parameter

    Mandatory

    Description

    SCIM Endpoint

    Yes

    Interface address of the target system to receive SCIM data, for example, https://example.com/v2.

    Authentication Method

    Yes

    The default authentication method is Basic Auth.

    Username

    Yes

    Username for authentication. Set this parameter if you specify the authentication method as Basic Auth.

    Password

    Yes

    Password of the user. Set this parameter if you specify the authentication method as Basic Auth.

    Token

    Yes

    Authorization token, which you can obtain from the application.

    Application Account Template

    Yes

    Template of user request data to be pushed to the target system. By default, the data template of SCIM 2.0 is used. Set the template according to the SCIM version supported by the target system.

    Application Organization Template

    Yes

    Template of organization request data to be pushed to the target system. By default, the data template of SCIM 2.0 is used. Set the template according to the SCIM version supported by the target system.

    Organization Resource Path

    No

    Organization resource path in SCIM. For example, the user path is User and the user group path is Group.

    Table 2 Advanced settings

    Parameter

    Mandatory

    Description

    Content-Type

    No

    Request header, which you can set based on the target system. Set this parameter to application/json or application/scim+json. The default value is application/scim+json.

    Accept

    No

    Request header, which you can set based on the target system. Set this parameter to application/json or application/scim+json.

    Time Format

    No

    JSON time format. If the time is in milliseconds, set this parameter to "timestamp". If the time is another type of value, set this parameter to a format expression, for example, yyyy-MM-dd HH:mm:ss.

  4. Choose Object Models > Application Account Model in the left pane, click the Attributes tab, and click Add to add an email attribute.

    Figure 3 Adding an attribute
    Table 3 Attributes

    Parameter

    Mandatory

    Description

    Attribute

    Yes

    Attribute that OneAccess will map to the target application, for example, email.

    Label

    No

    Display name of the attribute, for example, Email Address.

    Description

    No

    Description about the attribute.

    Attribute Type

    Yes

    Type of the attribute, for example, Text.

    Required field

    No

    Indicates whether the attribute is required.

  5. Switch to the Mappings tab page, click Modify, and configure the email address mapping.

    Table 4 Mappings

    Parameter

    Description

    User

    Attribute that OneAccess will map to the application, for example, email.

    Conversion Mode

    Attribute mapping mode.

    Script Expression

    Enter a script if you specify the conversion mode as Script-based.

    Execution Mode

    Operation to be performed when user data is synchronized from OneAccess to the target application.

    Application Account

    Account attribute of the application.

  6. In the left pane, choose Authorization > Application Accounts. Then click Add Accounts to authorize specific users to access the application. To authorize access using a policy, see the descriptions about the application account authorization policy in Modifying Application Configurations.

    For details about how to configure object models, API permissions, and application permissions, see Modifying Application Configurations.

    Figure 4 Adding accounts

Configuring Synchronization in Atlassian

  1. Log in to Atlassian.
  2. Configure and verify the email address and set an API token. For details, see the Atlassian documentation.

Verifying Data Synchronization

  1. View the synchronized users in Atlassian.

  2. View the synchronization events in OneAccess.