# Connecting SailPoint and Atlassian Cloud Jira Service Management

The Atlassian Cloud Jira Service Management Service Desk Integration Module helps to perform effective and efficient service management for SailPoint services offered to the organization in the Atlassian Cloud Jira Service Management system. It enables customers to create and manage service requests, incidents, and change requests.

You can integrate a SailPoint source with the Atlassian Cloud Jira Service Management system for access requests and to monitor it.

To create an integration, on the **Service Desk Integrations** page, go to **Admin \> Connections \> Service Desk**, and select **Create**.

[![Service desk integration process flow](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/process_graphic.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/process_graphic.png>)

## General Settings

The following are the steps to set up your Atlassian Cloud Jira Service Management integration:

> [!NOTE]
>
> **Screenshot**
>
> [![General Settings](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/general_settings.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/general_settings.png>)

> [!NOTE]
>
> Ensure that the name and description of each connection are unique. Because you can configure multiple source types to use this connection, you should specify the sources in the description. The tickets for those sources will be processed on the managed system while the status of the tickets is synchronized in SailPoint.

1. Enter a unique **Name** for the integration that you are setting up.
2. Enter a unique **Description** for the integration. The description will help you identify the associated sources and tasks associated with an integration.
3. Select Atlassian Cloud Jira Service Management for the **Integration Type**.
4. Select the **Ticket Type**.
5. Select the Connection Type:

   - [VA-Based Connection Type](<#va-based-connection-type>) - Select the **VA-Based** connection type if you want to use a Virtual Appliance Cluster.
   - [SaaS Connection Type](<#saas-connection-type>) - Select the **SaaS** connection type if you want to create a SaaS application without using a Virtual Appliance Cluster.

   > **Notes**
   >
   > - SaaS Connection types don't support Credential Providers.
   > - Once you create an integration, you cannot edit the connection type.
6. (Optional) If Credential Providers are supported for this integration, you can select **Use a Credential Provider** to use a credential provider configured in your tenant.
7. Enter the name of the **Integration Owner**.

### VA-Based Connection Type

> [!NOTE]
>
> **Screenshot**
>
> [![VA-Based Connection Type](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/va_connection_settings.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/va_connection_settings.png>)

1. Select **VA-Based** connection type if you want to use a Virtual Appliance Cluster.
2. Select **Save**.

### SaaS Connection Type

> [!NOTE]
>
> **Screenshot**
>
> [![SaaS Connection Type](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/saas_connection_type.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/saas_connection_type.png>)

1. Select **SaaS** connection type if you want to create a SaaS application without using a Virtual Appliance Cluster.

> [!NOTE]
>
> When you select the SaaS connection type, the [Enable Debug Logging](<#administrator-settings>) feature is available. It is only supported for Service Desk SaaS integration.

#### Administrator Settings

> [!NOTE]
>
> **Screenshot**
>
> [![Administrator Settings](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/enable_debug_logging.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/enable_debug_logging.png>)

1. Select the **Enable Debug Logging** checkbox to enable the integration to create and send debug log files to SailPoint Support to help troubleshoot issues.
2. If the **Enable Debug Logging** feature is needed, please contact SailPoint.

   > **Note**
   >
   > **Enable Debug Logging** should not be enabled without SailPoint guidance.

### Sources

> [!NOTE]
>
> **Screenshot**
>
> [![Sources](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/general_settings_sources.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/general_settings_sources.png>)

In the **Sources** dropdown list, select sources to configure from the available sources. For each source you want to integrate with the Atlassian Cloud Jira Service Management system, verify that it is configured for provisioning.

> [!TIP]
>
> Edit the **Description** field for these sources to indicate they are used in the Atlassian Cloud Jira Service Management integration.

## Connectivity and Authentication

Complete the following steps to connect and authenticate your Atlassian Cloud Jira Service Management system with your system:

1. In the **URL** field, enter the URL of the Atlassian Cloud Jira Service Management system that you want to integrate with. For example:

   - Basic Authentication: `https://your-domain.atlassian.net`
   - OAuth2 Authentication: `https://api.atlassian.com/ex/jira/{cloudid}`
2. Select the **Authentication Type**.
3. Complete the authentication steps:

   - [Basic Authentication](<#basic-authentication>)
   - [OAuth2 Authentication](<#oauth2-authentication>)

### Basic Authentication

> [!NOTE]
>
> **Screenshot**
>
> [![Basic Authentication](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/basic_authentication.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/basic_authentication.png>)

1. Enter the Service Account **Username** and the Service Account user's API Token in **Password**.

### OAuth2 Authentication

> [!NOTE]
>
> **Screenshot**
>
> [![OAuth2 Authentication](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/oauth2_authentication.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_jira_cloud/help/img/oauth2_authentication.png>)

1. Select `Refresh_Token` as the **Grant Type**.
2. In **Token URL**, enter the location of the token endpoint that the instance uses to retrieve the token. For example, `https://auth.atlassian.com/oauth/token`.
3. In **Refresh Token**, enter the refresh token for OAuth2 authentication. Provide the following scopes when creating tokens using OAuth2 authentication for the Next-gen service desk or Classic service desk type project:

   - `read:servicedesk-request`
   - `manage:servicedesk-customer`
   - `write:servicedesk-request`
4. In **Client ID** and **Client Secret**, enter the values for OAuth2 authentication.

> [!NOTE]
>
> For information on generating the Cloud ID, Refresh Token, Client ID, and Client Secret, refer to the [Atlassian documentation](<https://developer.atlassian.com/cloud/jira/service-desk/oauth-2-authorization-code-grants-3lo-for-apps/>).
