---
title: Jira integration for Code Agents
description: Connect Jira Cloud to Coralogix to see your epics and stories next to Claude Code cost in the Features section of the Code Agents Impact tab.
url: https://coralogix.com/docs/integrations/ai-observability/jira/
product: ai
feature: Code Agents
feature_id: ai-center-code-agents
feature_identifier: ai/ai-center-code-agents
last_updated: '2026-11-23'
---

# Jira integration for Code Agents

The Jira integration reads issues from your Jira Cloud site so that Code Agents can show the epics and stories your teams deliver next to AI cost.

## Overview

The integration reads Jira issues by key, together with their parents, story points, and status history. It authenticates with the API token of a Jira user, reads only the projects you select, and writes nothing to Jira.

Coralogix joins this data with your [Claude Code](https://coralogix.com/docs/integrations/ai-observability/claude/claude-code.md) telemetry, which Coralogix stores in the [log events](https://coralogix.com/docs/user-guides/data-layer/default-dataspace/ai-raw-anthropic-claude-code-logs.md) and [spans](https://coralogix.com/docs/user-guides/data-layer/default-dataspace/ai-raw-anthropic-claude-code-spans.md) datasets. The **Features** section on the **Impact** tab of the Claude dashboard then lists your epics and stories with their merged pull requests, assignees, and status. See [View Jira data in Code Agents](#view-jira-data-in-code-agents).

## What you need

The **Impact** tab on the Claude dashboard in [Code Agents](https://coralogix.com/docs/user-guides/ai/code-agents.md) needs three sources:

* [Jira](https://coralogix.com/docs/integrations/ai-observability/jira.md) or [Linear](https://coralogix.com/docs/integrations/ai-observability/linear.md), for your epics, stories, projects, and issues.
* [GitHub](https://coralogix.com/docs/integrations/ai-observability/github.md#event-formats) with **Event format** set to **Pull request activity**, for your pull requests.
* [Claude Code](https://coralogix.com/docs/integrations/ai-observability/claude/claude-code.md) with [span telemetry](https://coralogix.com/docs/integrations/ai-observability/claude/claude-code.md#span-telemetry) turned on, for the session cost.

### For the Jira integration

* A Jira Cloud site with a URL of the form `https://your-site.atlassian.net`. Custom domains are not supported.
* A Jira user whose API token the integration uses. Use a dedicated integration user or an Atlassian service account. The integration sees only the projects and issues this user can see, so the user needs the Browse Projects permission in every project you select.
* The IDs of the fields that hold your story points. See [Find the story point field IDs](#find-the-story-point-field-ids).
* To create the integration in Coralogix, `INTEGRATIONS:DEPLOY` (Data Admin and Platform Admin roles). See [Permissions](https://coralogix.com/docs/user-guides/aaa/access-control/permissions/permissions-list.md).

## Prepare Jira

### Create an API token

1. Sign in to Jira as the user the integration reads issues as.
2. Create an API token in [Atlassian account settings](https://id.atlassian.com/manage-profile/security/api-tokens). For a service account, create it in Atlassian Administration.
3. When you create a scoped token, give it the `read:jira-work` scope.
4. Copy the token. Atlassian shows it only once.

### Find the story point field IDs

Each Jira site has its own field IDs, and Coralogix reads story points from the fields you list. Company-managed projects usually use the **Story Points** field, and team-managed projects use **Story point estimate**.

1. In Jira settings, go to **Issues**, then **Custom fields**.
2. Open the menu of the story points field and select **View field information**.
3. In the URL, find `customFieldId` followed by a number. The field ID is `customfield_` followed by that number, for example `customfield_10016`.

## Set up

1. From the Coralogix toolbar, go to **Data Flow**, then **Integrations**.

2. Select **Jira Cloud**, then select **Add New**.

3. In **Instructions**, review the steps and select **Next**.

4. In **Settings**, define the integration:

   | Field                     | Description                                                                                                                                                                                                                                                     |
   | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Integration name**      | Required. Defaults to `Jira Cloud`.                                                                                                                                                                                                                             |
   | **Site URL**              | Required. The URL of your Jira Cloud site, for example `https://your-site.atlassian.net`.                                                                                                                                                                       |
   | **Email**                 | Required. The email address of the Jira user the API token belongs to.                                                                                                                                                                                          |
   | **API token**             | Required. The Atlassian API token of that user.                                                                                                                                                                                                                 |
   | **All projects**          | Off by default. When on, the integration reads issues from every project the user can see. When off, it reads only the projects you list in **Project keys**.                                                                                                   |
   | **Project keys**          | Required when **All projects** is off. The keys of up to 100 projects, for example `ABC`. A key starts with a letter and contains only letters, digits, and underscores. Include the projects of your epics and initiatives, or those parents are not returned. |
   | **Story point field IDs** | Required. The IDs of 1 to 10 fields that hold story points, in the form `customfield_` followed by digits.                                                                                                                                                      |
   | **Organization name**     | Optional. The name of your organization, up to 256 characters.                                                                                                                                                                                                  |

5. Select **Create**. When you edit an existing integration, select **Save**.

Coralogix tests the connection to Jira first and creates or updates the integration only when the test passes. When the test fails, Coralogix shows the reason in an error message and keeps the form open.

Replace an expired token

API tokens expire. When Jira rejects the token, the integration stops until you save it with a new one. Open the integration, enter a new **API token**, and select **Save**.

## View Jira data in Code Agents

Jira data appears in the **Features** section of the **Impact** tab on the Claude dashboard.

1. In Coralogix, navigate to **AI Center**, then **Code Agents**, then **Claude**.
2. Select the **Impact** tab, then go to the **Features** section.
3. Use the time range picker to set the period.

The section heading reads **Delivery in** followed by the tracker you are viewing. When you connect both Jira and Linear, the section opens on Jira. Select the tracker name in the heading to switch between **Jira** and **Linear**, or to connect the one you have not set up. Switching to Linear shows the data described in [Linear integration for Code Agents](https://coralogix.com/docs/integrations/ai-observability/linear.md#view-linear-data-in-code-agents).

The section shows:

* **Total AI cost** for the selected period, with the change against the previous period and the number of sessions behind it.
* **Epics delivered**, **Cost per epic**, and **Cost not attributed**, with the **Epic cost distribution** and **Epics delivered over time** charts. At story level they read **Stories delivered**, **Cost per story**, **Story cost distribution**, and **Stories delivered over time**.
* A toggle that switches the list between **Epic** and **Story**. The list opens on **Epic**.
* A list of all epics or all stories, with a search box and an export button that saves the list as a comma-separated values (CSV) file. The list shows the first 5,000 items.

Each row in the list shows:

| Column                | Description                                                                                                                                              |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Epic** or **Story** | The Jira key and the title of the item.                                                                                                                  |
| **AI cost**           | The AI cost attributed to the item.                                                                                                                      |
| **Stories done**      | Epic level only. The stories of the epic that are done.                                                                                                  |
| **Merged PRs**        | The number of merged pull requests linked to the item. Shows a dash until you connect GitHub.                                                            |
| **Models**            | The models behind the item's AI cost.                                                                                                                    |
| **Users**             | The assignees of the item. The first user appears, and `+` followed by a number opens the rest. For an epic, the users are the assignees of its stories. |
| **Cost / story done** | Epic level only. **AI cost** divided by **Stories done**.                                                                                                |
| **Status**            | Story level only. **Done** when the story is in the Done status category, otherwise **In progress**.                                                     |

Select a row to open the item's pull requests, each with its **Attributed cost**, **Time to merge**, and **State**.

The list includes the items updated or completed in the selected period, and the items with merged pull requests. Coralogix links merged pull requests to Jira items by the Jira key in the branch name or the pull request title. Coralogix reads the branch name first and uses the first key it finds. A session's cost lands on its branch, so it reaches the item whose key that branch carries. Cost on a branch with no key goes to **Cost not attributed**. At story level, the list counts every item at that level, tasks and bugs included, and the cost of a subtask rolls up to its parent.

For what each widget means and how cost is attributed, see [Code Agents ROI](https://coralogix.com/docs/user-guides/ai/code-agents/roi.md#features).

When you have not connected a tracker, the section shows a checklist with **Connect Jira or Linear** and **Connect GitHub**. Without the GitHub integration, a **Connect GitHub** notice explains that merged pull requests need it.

## Troubleshoot

| Symptom                                        | Cause                                                                                                                    | Resolution                                                                                                                                                                                                                                                                                |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Create** or **Save** fails with a test error | Coralogix cannot read Jira with the values you entered.                                                                  | Check that **Site URL** is the `atlassian.net` URL without a custom domain, that **Email** belongs to the user who owns the token, and that a scoped token has the `read:jira-work` scope.                                                                                                |
| Data stops arriving after working for a while  | The API token expired, and the integration stops when Jira rejects it.                                                   | Create a new token and save the integration with it.                                                                                                                                                                                                                                      |
| An epic or initiative is missing for a story   | The project of the parent is not in **Project keys**, so the parent is not returned.                                     | Add the parent's project key, or turn on **All projects**.                                                                                                                                                                                                                                |
| A project returns no issues                    | The integration sees only what the Jira user can see, and the user lacks the Browse Projects permission in that project. | Grant the user the Browse Projects permission in the project.                                                                                                                                                                                                                             |
| An item has no merged pull requests            | No branch name or pull request title carries the item's Jira key, or GitHub is not connected.                            | Put the Jira key in the branch name, which is the most reliable place because the branch exists before the pull request. A key in the pull request title also works. Set up the [GitHub integration for Code Agents](https://coralogix.com/docs/integrations/ai-observability/github.md). |
| New issues or status changes do not appear     | New issues can take up to about two hours to appear, and status changes a few hours.                                     | Check again later.                                                                                                                                                                                                                                                                        |
| An item is missing from the list               | The list shows items updated or completed in the selected period, and items with merged pull requests.                   | Widen the time range.                                                                                                                                                                                                                                                                     |

## Related resources

* [Linear integration for Code Agents](https://coralogix.com/docs/integrations/ai-observability/linear.md)
* [GitHub integration for Code Agents](https://coralogix.com/docs/integrations/ai-observability/github.md)
* [Claude Code integration](https://coralogix.com/docs/integrations/ai-observability/claude/claude-code.md)
* [Code Agents Intelligence](https://coralogix.com/docs/user-guides/ai/code-agents.md)
* [Code Agents ROI](https://coralogix.com/docs/user-guides/ai/code-agents/roi.md)
* [Claude Code log events dataset](https://coralogix.com/docs/user-guides/data-layer/default-dataspace/ai-raw-anthropic-claude-code-logs.md)
* [Claude Code spans dataset](https://coralogix.com/docs/user-guides/data-layer/default-dataspace/ai-raw-anthropic-claude-code-spans.md)
