JIRA

Before You Begin

Introduction

This document describes how to configure Oracle Identity Cloud Service to provide Single Sign-On (SSO) for JIRA using SAML.

For accessing the procedures in this document as a video, see Integrating JIRA with Oracle Identity Cloud Service.

About JIRA

JIRA is a proprietary issue tracking product developed by Atlassian. It provides bug tracking, issue tracking, and project management functions.

After integrating JIRA with Oracle Identity Cloud Service:

  • Users can access JIRA using their Oracle Identity Cloud Service login credentials.
  • Users can start JIRA using the Oracle Identity Cloud Service My Apps console.
  • Admins can assign and revoke user access to the JIRA app using the Oracle Identity Cloud Service administration console.

What Do You Need?

  • An Oracle Identity Cloud Service account with authorization rights to manage apps and users (Identity Domain Administrator or Application Administrator).
  • A JIRA account with a verified domain. See https://confluence.atlassian.com/cloud/domain-verification-873871234.html for domain verification steps.
  • Make sure that the email ID of each user in JIRA matches the primary email ID of the Oracle Identity Cloud Service account.
  • Identity Provider metadata. You can use the following URL to access the metadata: https://<IDCS-Service-Instance>.identity.oraclecloud.com/fed/v1/metadata and save the metadata in a text file. Use this file later to obtain the identity provider certificate content and during SSO configuration in JIRA in the "Obtaining the Identity Provider Signing Certificate" and "Configuring SSO for JIRA" sections respectively.

Prerequisite Step

A dedicated account name is required before you can register and activate the JIRA app.

Account name is the value entered in the Claim your site field while creating an account with JIRA. The same can be confirmed in the JIRA login URL: https://<Account_Name>.atlassian.net/admin that you received in an email from Atlassian.

Obtaining the Identity Provider Signing Certificate

Use this section to obtain the Identity Provider Certificate in a format that is suitable for JIRA.

  1. Access the Identity Provider metadata file that you downloaded in the "What Do You Need?" section.

  2. In the metadata file, locate the dsig:X509Certificate tags.

  3. Copy the content between the dsig:X509Certificate tags into a text file. This content is the Oracle Identity Cloud Service signing certificate.

    Image img1.png displays the metadata content with md:IDPSSODescriptor and dsig:X509Certificate tags highlighted.

  4. Add -----BEGIN CERTIFICATE----- at the beginning of the content.

  5. Add -----END CERTIFICATE----- at the end of the content.

    Image img2.png displays the text file with the certificate content highlighted.

    Note: Use this certificate content later during JIRA configuration in the "Configuring SSO for JIRA" section.

Configuring SSO for JIRA

  1. Access JIRA as an administrator using the URL: https://<Account_Name>.atlassian.net/admin. The Invite new users page appears.

  2. In the left navigation menu, under ORGANIZATIONS & SECURITY, click Security. The Managed accounts page appears.

  3. In the left navigation menu, under ATLASSIAN ACCESS, click SAML single sign-on. The SAML single sign-on page appears.

  4. Under the Add SAML configuration section, click Add SAML configuration. The Add SAML configuration page appears.

  5. Use the table to update the federated authentication attributes, and then click Save configuration.

    Attribute Value
    Identity provider Entity ID Enter the Entity ID/Issuer URL. Use the metadata file that you downloaded earlier to obtain the Entity ID/Issuer URL. The Entity ID/Issuer URL information is located in the first line of the metadata. See the "What Do You Need?" section.
    Identity provider SSO URL Enter the Sign-in URL/SSO Endpoint: https://<IDCS-Service-Instance>.identity.oraclecloud.com/fed/v1/idp/sso.
    Public x509 certificate Paste the certificate content that you obtained earlier in the "Obtaining the Identity Provider Signing Certificate" section.

    Note: Enabling SSO deactivates the ability to access JIRA using email address and password for domain verified users.

  6. On the SAML single sign-on page, under the Information required by your identity provider section, click copy near the SP Entity ID, and then make a note of the SP Entity ID URL.

  7. Make a note of the account ID from the end of the SP Entity ID URL:https://auth.atlassian.com/saml/<Account_ID>.

    Note: Use this account ID during JIRA registration in the "Registering and Activating the JIRA App" section.

Configuring the JIRA App in Oracle Identity Cloud Service

Use this section to register and activate the JIRA app, and then assign users to the app.

Registering and Activating the JIRA App

  1. Access the Oracle Identity Cloud Service administration console, select Applications, and then click Add.

  2. Click App Catalog.

  3. Search for JIRA, and then click Add.

  4. In the App Details section, enter your JIRA Account ID.

    Note: This is the Account ID value that you obtained while performing the steps in the "Configuring SSO for JIRA" section.

  5. Enter your JIRA Account Name, and click Next.

    Note: This is the account name value that you obtained in the "Prerequisite Step" section.

  6. Click Finish. Oracle Identity Cloud Service displays a confirmation message.

  7. Click Activate, and then click Activate Application. Oracle Identity Cloud Service displays a confirmation message.

Assigning Users to the JIRA App

Note: You can assign multiple users to JIRA in Oracle Identity Cloud Service by importing user accounts from a CSV file. For more information on importing users, see the Importing User Accounts Using Oracle Identity Cloud Service UI section in Administering Oracle Identity Cloud Service.

  1. On the JIRA app page in Oracle Identity Cloud Service, select Users, and then click Assign. The Assign Users window appears.

  2. Select users that you want to assign to JIRA, and then click OK. Oracle Identity Cloud Service displays a confirmation message stating that the JIRA app is assigned to the users that you selected.

    Note: Ensure that the assigned users have a verified domain in JIRA to initiate SSO.

Verifying the Integration

Use this section to verify that SSO works when initiated from Oracle Identity Cloud Service (IdP Initiated SSO) and from JIRA (SP Initiated SSO).

Verifying Identity Provider Initiated SSO from Oracle Identity Cloud Service

  1. Access the Oracle Identity Cloud Service My Profile console using the URL: https://<IDCS-Service-Instance>.identity.oraclecloud.com/ui/v1/myconsole.

  2. Log in using credentials for a federated user that is assigned to the JIRA app. Oracle Identity Cloud Service displays a shortcut to JIRA under My Apps.

  3. Click JIRA. The JIRA home page appears.

  4. In the lower-left corner, click the user icon, and then confirm that the user that is logged in is the same for both JIRA and Oracle Identity Cloud Service.

    This confirms that SSO that is initiated from Oracle Identity Cloud Service works.

Verifying Service Provider Initiated SSO from JIRA

  1. Access the JIRA login page using the URL: https://<Account_Name>.atlassian.net. The JIRA login page appears.

  2. Enter the federated user's email address, and then click Continue. You are redirected to the Oracle Identity Cloud Service login page.

  3. Log in using credentials for a federated user that is assigned to the JIRA app. The JIRA home page appears.

  4. In the lower-left corner, click the user icon, and then confirm that the user that is logged in is the same for both JIRA and Oracle Identity Cloud Service.

    This confirms that SSO that is initiated from Confluence works.

Troubleshooting

Use this section to locate solutions to common integration issues.

Known Issues

JIRA displays the error message, "Something went wrong while executing your request".

Cause: The user attempting to initiate SSO does not have a domain that is verified in JIRA.

Solution: Ensure that the user domain is verified in JIRA and the user that you assign has an account in both Oracle Identity Cloud Service and JIRA with the same email address.

JIRA displays the error message, "Your email address Email_Address doesn't have access to Account_Name.atlassian.net"

Cause: The user attempting to initiate SSO has a verified domain, but the email attribute sent by Oracle Identity Cloud Service during SSO doesn't match any existing user in JIRA.

Solution: Ensure that the user that you assign to the JIRA app has an account in both Oracle Identity Cloud Service and JIRA with the same email address.

Oracle Identity Cloud Service displays the message, "You are not authorized to access the app. Contact your system administrator."

Cause 1: The SAML 2.0 integration between the Oracle Identity Cloud Service JIRA app and JIRA is deactivated.

Solution 1:

  • Access the Oracle Identity Cloud Service administration console, select Applications, and then select JIRA.
  • In the App Details section, click Activate, and then click Activate Application. Oracle Identity Cloud Service displays a confirmation message.

Cause 2: The administrator revokes access for the user at the same time that the user tries to access the JIRA app using Oracle Identity Cloud Service.

Solution 2:

  • Access the Oracle Identity Cloud Service administration console, select Applications, and then select JIRA.
  • In the App Details section, select Users, and then click Assign to re-assign the user.

Unknown Issues

For unknown issues, contact Oracle Support:

  1. Go to https://support.oracle.com.

  2. Select Cloud Support, and then sign in with your support credentials.

  3. In the Cloud Dashboard, confirm that there are no planned outages in Oracle Identity Cloud Service, and then click Create Service Request.

  4. Select Oracle Identity Cloud Service as the service type.

  5. Complete your service request.