[Demo] ConductorOne's Policy Engine

ConductorOne docs

Set up a Jira Cloud connector

ConductorOne provides identity governance for Jira Cloud. Integrate your Jira Cloud instance with ConductorOne to run user access reviews (UARs) and enable just-in-time access requests.

Capabilities

ResourceSyncProvision
Accounts
Groups
Projects
Project roles

This connector can also be configured to automatically create and update Jira tickets to track manual provisioning assignments. Go to Configure Jira Cloud as an external ticketing provider to learn more.

Known limitations

  • User email is not currently synchronized
  • Only lists the first 1,000 users of a project

Gather Jira Cloud credentials

Configuring the connector requires you to pass in credentials generated in Jira Cloud. Gather these credentials before you move on.

The Jira Cloud user account used to generate these credentials must have the following permissions:

  • View users, groups, and projects
  • View project roles
  • Manage group memberships (required if you are using the connector for provisioning)
  • Manage project role memberships (required if you are using the connector for provisioning)
  • Create issues (required if you are using the connector as an external ticketing provider)

Create an API token

  1. Log into your Jira account with Administrator access.

  2. Navigate to https://id.atlassian.com/manage-profile/security/api-tokens.

  3. Click Create API token.

  4. Give your token a label, such as ConductorOne, and click Create.

  5. Carefully copy and save the newly generated API token.

Additional credentials

To set up the connector, you’ll also need:

  • Your Jira Cloud URL in https://your-domain.atlassian.net format

  • The email address for your Jira Cloud account

That’s it! Next, move on to the connector configuration instructions.

Configure the Jira Cloud connector

To complete this task, you’ll need:

  • The Connector Administrator or Super Administrator role in ConductorOne
  • Access to the set of Jira Cloud credentials generated by following the instructions above

Follow these instructions to use a built-in, no-code connector hosted by ConductorOne.

  1. In ConductorOne, navigate to Admin > Connectors and click Add connector.

  2. Search for Jira Cloud and click Add.

  3. Choose how to set up the new Jira Cloud connector:

    • Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)

    • Add the connector to a managed app (select from the list of existing managed apps)

    • Create a new managed app

  4. Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.

    If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.

  5. Click Next.

  6. Find the Settings area of the page and click Edit.

  7. Enter your Jira Cloud domain (the URL of your Jira Cloud instance is <YOUR DOMAIN>.atlassian.net) into the Jira site domain field.

  8. Enter the email address for your Jira Cloud account in the Your Jira email address field.

  9. Paste the API token you generated in Step 1 into the API token field.

  10. Optional. If you want to automatically create Jira Cloud tickets to track provisioning tasks, click to Enable external ticket processing. Read more about external ticketing system integrations here.

  11. Optional. If you’ve enabled external ticket processing, you can provide a list of the Jira Cloud project keys to use when creating external tickets in the Project keys field.

  12. Click Save.

  13. The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.

That’s it! Your Jira Cloud connector is now pulling access data into ConductorOne.

Follow these instructions to use the Jira connector, hosted and run in your own environment.

When running in service mode on Kubernetes, a self-hosted connector maintains an ongoing connection with ConductorOne, automatically syncing and uploading data at regular intervals. This data is immediately available in the ConductorOne UI for access reviews and access requests.

Step 1: Set up a new Jira Cloud connector

  1. In ConductorOne, navigate to Connectors > Add connector.

  2. Search for Baton and click Add.

  3. Choose how to set up the new Jira Cloud connector:

    • Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)

    • Add the connector to a managed app (select from the list of existing managed apps)

    • Create a new managed app

  4. Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.

    If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.

  5. Click Next.

  6. In the Settings area of the page, click Edit.

  7. Click Rotate to generate a new Client ID and Secret.

    Carefully copy and save these credentials. We’ll use them in Step 2.

Step 2: Create Kubernetes configuration files

Create two Kubernetes manifest files for your Jira Cloud connector deployment:

Secrets configuration

# baton-jira-secrets.yaml
apiVersion: v1
kind: Secret
metadata:
  name: baton-jira-secrets
type: Opaque
stringData:
  # ConductorOne credentials
  BATON_CLIENT_ID: <ConductorOne client ID>
  BATON_CLIENT_SECRET: <ConductorOne client secret>
  
  # Jira Cloud credentials
  BATON_JIRA_URL: <Jira Cloud tenant URL in https://domain.atlassian.net format>
  BATON_JIRA_API_TOKEN: <Jira Cloud API token>
  BATON_JIRA_EMAIL: <Email address associated with your Jira Cloud account>

  # Optional: include if you want ConductorOne to provision access using this connector
  BATON_PROVISIONING: true

See the connector’s README or run --help to see all available configuration flags and environment variables.

Deployment configuration

# baton-jira.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: baton-jira
  labels:
    app: baton-jira
spec:
  selector:
    matchLabels:
      app: baton-jira
  template:
    metadata:
      labels:
        app: baton-jira
        baton: true
        baton-app: jira
    spec:
      containers:
      - name: baton-jira
        image: ghcr.io/conductorone/baton-jira:latest
        imagePullPolicy: IfNotPresent
        envFrom:
        - secretRef:
            name: baton-jira-secrets

Step 3: Deploy the connector

  1. Create a namespace in which to run ConductorOne connectors (if desired), then apply the secret config and deployment config files.

  2. Check that the connector data uploaded correctly. In ConductorOne, click Applications. On the Managed apps tab, locate and click the name of the application you added the Jira Cloud connector to. Jira Cloud data should be found on the Entitlements and Accounts tabs.

That’s it! Your Jira Cloud connector is now pulling access data into ConductorOne.