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

# Atlassian Connector (Jira & Confluence)

> Connect PraisonAI agents to Jira and Confluence using Atlassian's official remote MCP server with OAuth 2.1

Connect your PraisonAI agents to both **Jira** and **Confluence** through one official remote Atlassian MCP connector — search tickets, inspect sprint boards, read Confluence runbooks, and draft updates with OAuth 2.1.

| Setting | Value |
| - | - |
| **Catalog ID** | `atlassian` |
| **Endpoint** | `https://mcp.atlassian.com/v2/mcp` |
| **Transport** | Streamable HTTP (Remote) |
| **Authentication** | OAuth 2.1 (Atlassian Cloud site consent) |

> [!TIP]
>
> Prefer a local Python Jira integration using an API token? See [Jira Tools](https://praison.ai/docs/tools/jira.md).

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent, MCP

agent = Agent(
    name="Engineering PM",
    instructions="Cross-reference Jira tickets with Confluence runbooks.",
    tools=MCP(
        "https://mcp.atlassian.com/v2/mcp",
        oauth=True,
        server_name="atlassian",
    ),
)

agent.start("List open P1 bugs in Jira and link any matching Confluence runbooks")
```

The user asks to match production Jira bugs with Confluence runbooks; PraisonAI calls Atlassian's remote MCP tools across both products in a single session.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
graph LR
    User["👤 User"] --> Agent["🤖 PraisonAI Agent"]
    Agent --> Auth["🔐 Atlassian OAuth 2.1"]
    Auth --> Atl["📘 Atlassian Remote MCP<br/>mcp.atlassian.com/v2/mcp"]
    Atl --> Result["✅ Jira & Confluence"]

    classDef input fill:#6366F1,stroke:#7C90A0,color:#fff
    classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
    classDef auth fill:#F59E0B,stroke:#7C90A0,color:#fff
    classDef ok fill:#10B981,stroke:#7C90A0,color:#fff

    class User input
    class Agent agent
    class Auth auth
    class Atl,Result ok
```

***

## How It Works

Atlassian's v2 remote MCP server exposes Jira and Confluence tools behind Atlassian Cloud OAuth 2.1. Permissions automatically follow your Atlassian Cloud user role — the agent can only see projects and spaces you can access.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
sequenceDiagram
    participant User
    participant CLI as praisonai CLI
    participant AtlAuth as Atlassian OAuth 2.1
    participant Store as mcp-auth.json
    participant AtlMCP as Atlassian MCP v2
    participant Agent as PraisonAI Agent

    User->>CLI: praisonai connectors add atlassian --auth
    CLI->>AtlAuth: Start OAuth 2.1 PKCE consent
    AtlAuth-->>User: Choose Atlassian Cloud site and approve
    AtlAuth-->>Store: Save OAuth token (0600)
    User->>Agent: Query Jira issues and Confluence pages
    Agent->>Store: Load cached token
    Agent->>AtlMCP: Call Jira and Confluence tools
    AtlMCP-->>Agent: Ticket details and wiki pages
    Agent-->>User: Combined engineering summary
```

***

## Step-by-Step Setup

**1. Prerequisites**

* An **Atlassian Cloud** site (Jira Cloud and/or Confluence Cloud)
* Permission in your Atlassian org to authorize OAuth apps

**2. Install PraisonAI with MCP support**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install "praisonai[mcp]"
```

**3. Add and authenticate Atlassian**

> [tab] CLI (Interactive OAuth)
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai connectors add atlassian --auth
> ```
>
> Select the Atlassian Cloud site you want to connect when your browser opens.

> [tab] Headless / SSH (--manual)
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai connectors add atlassian --auth --manual
> ```

> [tab] PraisonAI Dashboard
>
> Enable catalog connectors in your PraisonAIUI `config.yaml`:
>
> ```yaml theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> mcp:
>   enabled: true
>   allow:
>     catalog: true
> ```
>
> Run `praisonai dashboard`, open **Connectors / MCP**, and click **Connect** on **Atlassian**.

**4. Verify and list discovered tools**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai mcp sync atlassian
```

**5. Run your agent**

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent, MCP

agent = Agent(
    name="Jira & Confluence Helper",
    instructions="Summarize Jira issues with keys and link relevant Confluence docs.",
    tools=MCP("https://mcp.atlassian.com/v2/mcp", oauth=True, server_name="atlassian"),
)

agent.start("Summarize all In Progress issues in project ENG")
```

***

## Scope Tools for Safety

Require human approval whenever an agent can transition Jira issues or edit Confluence pages:

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent, MCP

agent = Agent(
    name="Safe Jira Triage",
    instructions="Inspect tickets and ask approval before any write action.",
    tools=MCP(
        "https://mcp.atlassian.com/v2/mcp",
        oauth=True,
        server_name="atlassian",
        approval="always",
    ),
)
```

***

## Common Workflows

* **Release Notes from Jira:** `"Query all Done issues in release v2.4 and group them into Features and Bug Fixes."`
* **Runbook Lookup:** `"Search Confluence for incident response procedures related to database failover."`

***

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Atlassian consent screen says app blocked | Org admin restricts third-party OAuth apps | Ask your Atlassian org admin to approve the Atlassian Rovo MCP Server connection |
| `401 Unauthorized` on `praisonai connectors test atlassian` | `connectors test` does not attach stored OAuth tokens | Verify with `praisonai mcp sync atlassian` |
| Connected wrong Atlassian Cloud site | Multiple sites under one account | Run `praisonai connectors logout atlassian --yes` then `praisonai connectors auth atlassian` and choose the target site |

***

## Best Practices

> [accordion] Mention project keys and space keys in instructions
>
> Specify Jira project keys (e.g., `ENG`) and Confluence space keys in `instructions` to keep JQL and CQL queries fast and focused.

> [accordion] Verify exact tool names before setting --allow
>
> Run `praisonai mcp sync atlassian` to list the exact Jira and Confluence tool names available for your Atlassian plan.

> [accordion] Use approval='always' for ticket transitions
>
> Keep `approval="always"` enabled when allowing agents to comment on customer-facing Jira Service Management tickets or publish Confluence edits.

***

## Related

> [card] [List of Connectors](https://praison.ai/docs/features/connectors-list.md)
>
> Browse all popular connectors and step-by-step guides

> [card] [Remote MCP Connectors](https://praison.ai/docs/features/connectors.md)
>
> CLI commands, --manual mode, and Dashboard setup

> [card] [Jira Tools (Python)](https://praison.ai/docs/tools/jira.md)
>
> Local Python Jira integration using API tokens

> [card] [MCP OAuth Authentication](https://praison.ai/docs/mcp/mcp-oauth.md)
>
> OAuth 2.1 PKCE flow and token storage


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