Jira Integration in Insights — Optimal Docs

Setting Up Jira Integration in Insights

Connecting Jira with Insights allows you to track engineering productivity, including cycle times, issue progress, and delivery metrics, all in one place.

1. Navigate to Settings

Click the Settings icon in the bottom left of your sidebar.

2. Add Team Members

Inside the Settings page, navigate to the Members tab.

3. Open Jira Integration

Go to the Integrations tab and select Jira Integration.

4. Enter Jira Connection Details

Fill in the required fields:

How to Get Your Connection Details

a. Domain Name
Your domain name is the base URL of your Jira instance:

⚠️ Remove the trailing slash. Make sure the URL does not end with / (e.g. use https://yourcompany.atlassian.net, not https://yourcompany.atlassian.net/).

b. Service Account

The account must have access to all Jira projects you want Insights to track. See Service Account Permissions below for the exact permissions required.

c. API Token

💡 Tip: API tokens can expire. If authentication fails, generate a new token and update it in the Insights settings.

5. Configure Import & Webhooks

Enable the following options for a complete setup:

Alternatively, you can copy and paste the webhook link manually into Jira if you prefer.

6. Save Your Integration

Once all details are entered, click Save.

7. Link Users to Jira

After setup, return to the Members tab to ensure users are correctly mapped to their Jira accounts.

This ensures that productivity and delivery metrics are accurately attributed to each engineer.

8. Manual Jira Webhook Setup

If you prefer to configure the webhook manually, or if your service account does not have Jira Administrator rights, follow the steps below.

Get your webhook URL
Your unique webhook URL is displayed in the Insights UI under Jira Integration → Webhook Status. Copy it from there — you’ll paste it into Jira in the steps below.

Jira Cloud

  1. In Jira, go to Settings (gear icon) → System → WebHooks.
  2. Click Create a WebHook.
  3. Give it a name (e.g. “Insights Sync”) and paste your webhook URL.
  4. Under Events, enable the following:
  1. Click Save.

Jira Server / Data Center

  1. In Jira, navigate to Settings (gear icon) → System → WebHooks (or go directly to /plugins/servlet/webhooks).
  2. Click Create a WebHook.
  3. Give it a name, paste your webhook URL, and enable the same events listed above.
  4. Click Create.

💡 Tip: On Jira Server, Insights can create the webhook automatically during setup if your service account has Jira Administrator access. Enable Automatically integrate with Jira webhooks during setup to use this option.

Service Account Permissions

The service account (or personal account) used for this integration requires the following Jira permissions:

Jira Cloud

Permission Where to set it
Browse Projects Per-project role — add the service account to each project you want tracked
Browse Users and Groups Global permission — enabled by default in most Jira instances

Jira Server / Data Center

Permission Where to set it
Browse Projects Per-project role — add the service account to each project you want tracked
Browse Users Global permission — set in Settings → System → Global Permissions
Jira Administrators (optional) Only required for automatic webhook creation

💡 Tip: Both Optibot and Insights are read-only — no write permissions are required on your Jira instance.

Reconnecting or Fixing a Broken Integration

If your API token expires, your service account credentials change, or Insights can’t load your Jira projects, you no longer need to disconnect first:

💡 Tip: Atlassian service accounts (accounts ending in @serviceaccount.atlassian.com) are fully supported. If a service account was previously rejected with an “Invalid Jira credentials” error, reconnecting will now succeed.

✅ Jira Integration Complete

Your Insights dashboard is now connected to Jira. You’ll start seeing data populate in areas like PR Cycle Time, Story Points, and Time in Status, giving you visibility into your team’s delivery flow.