> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Jira Data Center connector

[Back to list of knowledge sources](https://koreai.mintlify.site/agent-platform/integrations/knowledge-sources.md)

Use the Jira Data Center connector to index issues, comments, worklogs, and attachments from Jira Data Center or Jira Server into a knowledge base. Agents then retrieve that content to answer questions about work in progress, known bugs, and past resolutions. The connector authenticates through a **Basic** or **Bearer** auth profile and reads only the projects you name.

## How the connector works

The connector reads issues from the projects you choose on your self-managed Jira, keeps the ones that match your filters, and adds them to the knowledge base. Comments, worklogs, and attachments become child documents linked to their parent issue.

```mermaid theme={null}
flowchart LR
  A[Basic or Bearer<br/>profile] --> B[Read issues<br/>by project key]
  B --> C[Filter<br/>type, status, label, JQL]
  C --> D[Issues and<br/>child documents]
  D --> E[Knowledge base]
  F[Jira ACL evidence] -. optional .-> E
```

> [accordion] What happens at each stage
>
> 1. The connector authenticates with the auth profile and connects to the Jira URL you enter.
> 2. It reads issues from each project key, and keeps the ones that match the issue type, status, label, date, and JQL filters.
> 3. It indexes each issue with its summary, description, status, priority, project, assignee, and reporter, and adds the child resources you select.
> 4. If you keep **Permission-aware ACL** on, it applies assignee, reporter, and watcher evidence to search results.

## Before you begin

Make sure that you have the following:

* A Jira Data Center or Server site that the platform can reach, and the keys of the projects to index.
* A Jira account that can browse those projects, with a password or a personal access token.
* A knowledge base in your project, and permission to add sources to it.

## Step 1: Prepare Jira access

Give the connector read access to your Jira site. Choose an auth type first. The platform recommends **Bearer token** with a personal access token, because you can revoke the token without changing the account password.

> [tab] Bearer token (recommended)
>
> 1. Sign in to Jira with the account the connector uses.
> 2. In your profile, open **Personal Access Tokens**, and then create a token.
> 3. Copy the token. Jira doesn't show it again.

> [tab] Basic
>
> 1. Choose the Jira account the connector uses. Use a dedicated service account where possible.
> 2. Note the account's username and password.

> [accordion] Required access
>
> The connector only reads from Jira. Grant the account the smallest access that covers your projects.
>
> | Permission | Required when |
> | - | - |
> | **Browse Projects** | Always. Reads issues, comments, and worklogs in each project. |
> | **View watchers** | You keep **Permission-aware ACL** on. |
> | Network access from the platform to the Jira URL | Always. Allow the platform's egress addresses through your firewall if Jira isn't public. |

## Step 2: Create the auth profile

The auth profile stores the credentials from Step 1 and signs each request that the connector sends. You can create the profile from the connector, so you don't need to leave the setup flow.

**1. Open the Jira Data Center connector**

1. Go to **Knowledge Bases**, and then open your knowledge base.
2. On **Overview**, under **Connect a data source**, select **All Sources**.
3. Under **Project Management**, select **Connect** on **Jira Data Center**.
4. On the **Connect a Jira Data Center site** step, select **New auth profile**. The new auth profile panel opens.

**2. Enter the profile details**

| Field | Description |
| - | - |
| **Auth Type** | Select **Bearer Token** or **Basic Auth** to match the credentials from Step 1. |
| **Profile Name** | Enter a name that identifies the site and environment, for example `Jira DC - Production`. |
| **Description** | Optional. Describe the purpose of the profile. |
| **Visible to project members** | Turn on to let project members use the profile. |

**3. Configure the credentials**

> [tab] Bearer Token (recommended)
>
> | Field | Description |
> | - | - |
> | **Authorization Prefix** | Optional. Keep `Bearer`. |
> | **Token** | Paste the personal access token from Step 1. The platform encrypts it and never displays it again. |

> [tab] Basic Auth
>
> | Field | Description |
> | - | - |
> | **Username** | Enter the Jira username. |
> | **Password** | Enter the account password. The platform encrypts it and never displays it again. |

**4. Save the profile**

Select **Create Profile**. The connector returns to the **Connect** step.

## Step 3: Configure the connector

Tell the connector which site and projects to read, which issues to keep, and which child resources to include.

**1. Connect**

| Field | Description | Default |
| - | - | - |
| **Jira auth profile** | Select the profile you created in [Step 2](#step-2-create-the-auth-profile). | None |
| **Auth type** | Select **Basic** or **Bearer token** to match the profile. | **Basic** |
| **Jira site URL** | Enter the base URL that the platform can reach, for example `https://jira.example.com`. | Empty |

**2. Projects and filters**

Project keys set the boundary of the source. The optional filters narrow what each sync reads.

| Field | Description | Default |
| - | - | - |
| **Project keys** | Enter comma-separated project keys, for example `SUP, ENG, OPS`. | Empty |
| **Issue types** | Optional. Enter comma-separated issue types, for example `Bug, Story, Task`. | Empty |
| **Statuses** | Optional. Enter comma-separated statuses, for example `Open, In Progress`. | Empty |
| **Labels** | Optional. Enter comma-separated labels, for example `customer-visible, runbook`. | Empty |
| **Modified after** | Optional. Enter a date to index only issues updated after it. | Empty |
| **Modified before** | Optional. Enter a date to index only issues updated before it. | Empty |

> [accordion] Advanced: JQL
>
> | Field | Description | Default |
> | - | - | - |
> | **Advanced JQL** | Optional. Enter a JQL clause to narrow the issues further, for example `resolution = Done AND component = Billing`. The project keys still set the boundary. | Empty |

**3. Objects and child resources**

| Field | Description | Default |
| - | - | - |
| **Issues** | Indexes issues as the primary answer source. | On |
| **Attachments** | Indexes files attached to the selected issues. | Off |
| **Include comments** | Indexes issue comments as discussion documents linked to their issue. | On |
| **Include worklogs** | Indexes worklog comments as activity documents linked to their issue. | Off |

**4. Permissions**

Optional. Keep **Permission-aware ACL** on to apply Jira visibility to search results. See [Permissions](#permissions).

## Step 4: Validate and activate

Test the configuration on a small sample before the first full sync. Validation catches network, access, and filter errors early, before you index any content.

**1. Generate a proposal**

Select **Generate proposal**. The server validates the configuration and compiles the connector package.

**2. Run a dry run**

Select **Dry run**. The connector reads a bounded sample of issues without indexing them. Fix any access or filter errors before you continue.

**3. Approve and sync**

Select **Approve & sync**. The first sync starts and indexes all matching issues.

> [!TIP]
>
> Start with one project key and the default child resources. Confirm the results in **Search & Test**, and then add projects and attachments.

## Sync behavior

After the first sync, the connector processes new and updated issues in the selected projects. You can also start a sync at any time from the source.

* A manual sync runs immediately, whatever the schedule.
* Changes to project keys, filters, child resources, or the auth profile apply on the next sync.
* **Modified after** and **Modified before** limit every sync, not only the first one.

## Permissions

By default, the connector keeps **Permission-aware ACL** on. It returns an issue only to users that Jira links to the issue as assignee, reporter, or watcher. When the connector can't prove that a user can see an issue, it hides the issue from that user.

> [!WARNING]
>
> If you turn off **Permission-aware ACL**, every user who can search the knowledge base can retrieve every indexed issue, including issues in restricted projects.

## Limits and considerations

Keep these limits in mind when you plan the scope of the connector.

* The platform must reach the Jira URL over the network. Sites behind a firewall need an allow rule.
* The connector reads only the projects in **Project keys**. JQL can't widen that boundary.
* Permission-aware ACL uses direct assignee, reporter, and watcher evidence. It doesn't evaluate permission schemes, project roles, or issue security levels.
* This connector doesn't support OAuth. For Jira Cloud, use the [Jira connector](https://koreai.mintlify.site/agent-platform/connectors/jira).

## Troubleshoot common issues

Most issues come from network access, the wrong auth type, or project keys that the account can't browse. Find your symptom in the table, and then apply the solution.

| Symptom | Solution |
| - | - |
| The auth profile list is empty. | Create a profile with **New auth profile**, and confirm that **Visible to project members** is on. |
| The dry run times out or can't connect. | Confirm that **Jira site URL** is correct and that your firewall allows traffic from the platform. |
| Requests fail with an SSL or certificate error. | Use a certificate from a public certificate authority on the Jira URL. |
| Requests fail with `401 Unauthorized`. | Confirm that **Auth type** on the connector matches the profile. For **Bearer token**, confirm that the personal access token hasn't expired or been revoked. |
| The dry run fails with `403 Forbidden` or returns no issues. | Confirm that the account has **Browse Projects** on each project in **Project keys**, and that the keys are correct. |
| The dry run returns fewer issues than expected. | Clear **Issue types**, **Statuses**, **Labels**, the date filters, and **Advanced JQL**, and then add them back one at a time. |
| Users see no results after activation. | Add the users as watchers, or confirm that they're assignees or reporters. **Permission-aware ACL** hides issues it can't prove they can see. |

## Related articles

Learn more about auth profiles and Jira Data Center access.

* [Auth profiles](https://koreai.mintlify.site/agent-platform/administration/integrations-settings.md#auth-profiles)
* [Jira connector](https://koreai.mintlify.site/agent-platform/connectors/jira)
* [Using personal access tokens (Atlassian)](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.