Skip to main content
This feature is available exclusively as part of the Pro plan. Please refer to our pricing page for more information about our plans and features.

Overview

The Jira integration connects CodeRabbit to your Jira workspace, bringing issue context into every stage of development. Here’s what the integration enables:

Prerequisites

Before setting up the Jira integration, ensure you have:
  • A Jira Cloud account (for Jira Data Center or self-hosted, see Jira Data Center below)
  • Admin access to install apps on your Jira site
  • A CodeRabbit Pro plan

Install the Jira Cloud integration

The Jira Cloud integration uses a Forge app from the Atlassian Marketplace. Follow these steps to connect your Jira site to CodeRabbit:
1

Enable Jira integration in CodeRabbit

Navigate to Integrations in the CodeRabbit app and toggle Jira to enable the integration.
2

Copy the installation secret

A modal appears with setup instructions and an Installation Secret (valid for 15 minutes). Copy the secret, then click Open Atlassian Installation.
3

Install from Atlassian Marketplace

On the Atlassian Marketplace page for the CodeRabbit app, click Get app.
4

Select your Jira site

Choose which Jira site to install the CodeRabbit app on and click Install.
5

Open Jira app settings

In your Jira site, click the Settings gear icon and select Marketplace apps.
6

Complete the setup

Under Apps, select CodeRabbit. On the CodeRabbit Setup page, paste the Installation Secret you copied earlier and click Complete Setup.
7

Verify the integration

Return to CodeRabbit and click Refresh Status to confirm the integration is connected.
The Installation Secret expires after 15 minutes. If it expires before you complete the setup, start the process again from step 1.

Jira Data Center (Self-Hosted)

For self-hosted Jira Data Center installations, a different setup process applies. Contact CodeRabbit support for assistance with configuring Jira Data Center integration.

Configure CodeRabbit for Jira

After connecting Jira, configure which Jira projects CodeRabbit should access by adding your project keys. The project key is the prefix that appears before issue numbers—for example, if your issue URL is https://company.atlassian.net/browse/PROJ-123, the project key is PROJ.
Add the project_keys setting under knowledge_base.jira in your .coderabbit.yaml file:
.coderabbit.yaml
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
knowledge_base:
  jira:
    usage: "enabled"
    project_keys:
      - "PROJ"
      - "DEV"
      - "BACKEND"

chat:
  integrations:
    jira:
      usage: "enabled"
The usage setting controls when the integration is active:
  • auto (default): Disabled for public repositories, enabled for private repositories
  • enabled: Always enabled
  • disabled: Always disabled
By default, Jira integration is enabled for private repositories and disabled for public repositories. You can override this behavior by setting knowledge_base.jira.usage: enabled and chat.integrations.jira.usage: enabled in your .coderabbit.yaml file or using the web interface. See the Configuration reference for details.

Example usage

Linking Jira issues to pull requests

To have CodeRabbit validate requirements from a Jira issue, include the issue URL in your pull request description:
This PR implements the user authentication flow.

Closes https://company.atlassian.net/browse/PROJ-123
CodeRabbit will fetch the issue details and assess whether your code changes address the requirements specified in the issue. See the Linked issues guide for best practices on linking issues.

Creating Jira issues from reviews

During a code review, you can ask CodeRabbit to create a Jira issue by mentioning @coderabbitai in a comment:
@coderabbitai create a Jira issue for this technical debt in the PROJ project
CodeRabbit will create a well-structured issue with relevant context from the code review discussion. See the Issue creation guide for more details.

Requirement validation

Best practices for linking issues to pull requests

Issue Planning

Generate Coding Plans from issues for coding agents

Issue creation

Create issues directly from CodeRabbit reviews