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

# How to connect Jira to your code review tool

> Link Jira to Fossa so your AI code reviews automatically validate PRs against task requirements and acceptance criteria.

Connecting Jira to Fossa enables two powerful features: automatic **business logic validation** against Jira tickets, and richer context for code review suggestions.

## How to connect

1. Go to **Settings** → **Plugins**
2. Find **Jira** in the available plugins
3. Click **Connect** and authorize access to your Jira workspace
4. Select which projects Fossa can access

## What it enables

### Automatic business logic validation

When a PR is linked to a Jira ticket, Fossa automatically:

* Fetches the ticket title, description, and acceptance criteria
* Compares the PR diff against the requirements
* Reports missing implementations, scope mismatches, and gaps

### On-demand validation

Paste any Jira URL in a PR comment:

```
@fossy -v business-logic https://your-org.atlassian.net/browse/PROJ-123
```

### Richer code review context

With Jira connected, Fossy can use MCP functions in your rules to fetch task context, check issue status, and cross-reference requirements.

## Requirements

* Jira Cloud or Jira Data Center
* OAuth or API token access
* Permissions to read the relevant projects

For details on business logic validation, see [Business Logic Validation](/en/how_to_use/code_review/business_logic_validation). For plugin setup, see [Plugins](/en/how_to_use/code_review/plugins).


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