# Using Integrations

## Listing Integrations

To list the SailPoint Atlassian Data Center Jira Service Management integrations in the card-view format, perform the following:

> [!NOTE]
>
> **Screenshot**
>
> [![Listing Integrations](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_listing_integrations.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_listing_integrations.png>)

> [!NOTE]
>
> All your Service Desk integrations are displayed based on: Name, Description, and Integration Type.

1. Go to **Admin \> Connections \> Service Desk**.
2. On the **Service Desk Integrations** page, the integrations will be sorted by name in alphabetical order. The Atlassian Data Center Jira Service Management integrations are listed accordingly.

## Viewing Integrations

> [!NOTE]
>
> **Screenshot**
>
> [![Viewing Integrations](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_viewing_integrations.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_viewing_integrations.png>)

1. Go to **Admin \> Connections \> Service Desk**.
2. On the **Service Desk Integrations** page, select a card for the Atlassian Data Center Jira Service Management integration to view the corresponding details.
3. Scroll down to view the values of the UI fields.
4. To exit, select the **X**.

## Editing an Integration

> [!NOTE]
>
> **Screenshot**
>
> [![Editing an Integration](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_editing_integrations.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_editing_integrations.png>)

1. Go to **Admin \> Connections \> Service Desk**.
2. On the **Service Desk Integrations** page, select a card for the Atlassian Data Center Jira Service Management integration to view the corresponding details.
3. Scroll down to view the values of the UI fields.
4. Select **Edit**. The integration details with the previous values are displayed. Change the UI field values as per your requirement.
5. Select **Continue** on the dialog boxes to proceed to the **Summary** page.
6. Select **Update** to save the changes.

## Deleting an Integration

> [!NOTE]
>
> **Screenshot**
>
> [![Deleting an Integration](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_deleting_integrations.png>)](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/img/using_deleting_integrations.png>)

1. Go to **Admin \> Connections \> Service Desk**.
2. On the **Service Desk Integrations** page, select a card for the Atlassian Data Center Jira Service Management Integration to view the corresponding details.
3. Select **Delete**. A warning message is displayed. Select **Delete** if you're sure you want to delete the integration.

## Configuring Integration for Jira Project Filtering

To assign Jira projects to incoming tickets, configure the following:

1. Modify the Before Provisioning Rule to contain the logic to filter which Jira project the tickets are assigned to.

   For example, you can have a use case where you create tickets in a Jira project with an ID of `33` where the application is Slack, and a Jira project with an ID of `50` where the application is Okta. Then for all other applications the tickets will be created in a Jira project with an ID of `1`.

   > **Note**
   >
   > In the following example, Slack and Okta are considered to be configured as a Managed Resource for the integration in question.

   ```java
   for (AccountRequest accReq : Util.iterate(plan.getAccountRequests())) {
   if (accReq.getApplicationName().equals("Slack")) {
   plan.put("serviceDeskId", "33");
   plan.put("requestTypeId", "33");
   } else if (accReq.getApplicationName().equals("Okta")) {
   plan.put("serviceDeskId", "50");
   plan.put("requestTypeId", "50");
   } else {
   plan.put("serviceDeskId", "1");
   plan.put("requestTypeId", "1");
   }
   }
   ```
2. Modify the values for **Request Type Id** and **Service Desk Id**, located in the **Ticket Creation** section, to read the modified values from the Before Provisioning Rule rather than the default hard coded values.

   ```text
   Request Type Id: $plan.arguments.requestTypeId
   Service Desk Id: $plan.arguments.serviceDeskId
   ```
3. Update the **Identity Security Cloud Status** to **Atlassian Data Center Jira SDIM Status** based on the status mapping you configured in the [Status Mapping](<https://documentation.sailpoint.com/connectors/service_desk_integrations/atlassian_datacenter_sdim/help/configuring.html#status-mapping>) section, as per the status being received from multiple objects.
