docs/guides/atlassian-mcp-continue-cookbook.mdx
import { OSAutoDetect } from '/snippets/OSAutoDetect.jsx' import CLIInstall from '/snippets/cli-install.mdx'
<OSAutoDetect /> <Card title="What You'll Build" icon="atlassian"> An Atlassian workflow assistant that uses Continue with the Atlassian Rovo MCP to: - Search and summarize Jira issues across projects - Find and digest Confluence documentation - Create and update Jira issues with natural language - Query Compass components and service dependencies - Automate Atlassian workflows with headless CLI runs </Card> <Info> The new [Atlassian Mission Control Integration](/mission-control/integrations/atlassian) enables **[Continuous AI](/guides/continuous-ai)** for project management and documentation - where AI agents autonomously manage Jira issues, sync Confluence documentation, and streamline development workflows. This cookbook focuses on CLI-based workflows, but you can also deploy autonomous agents through Mission Control.Get Started: Use this cookbook to understand Atlassian MCP fundamentals, then enable Mission Control to deploy autonomous project management agents across your organization. </Info>
Before starting, ensure you have:
For all options, first: <Steps> <Step title="Install Continue CLI"> <CLIInstall /> </Step>
<Step title="Understand OAuth Flow"> The Atlassian MCP uses **OAuth 2.1** for authentication. The first time you connect, you'll complete a browser-based authorization flow that respects your existing Atlassian permissions. </Step> </Steps> <Warning> To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys). All data access respects your existing Jira, Confluence, and Compass user permissions. </Warning>| Agent | Best For | Use Cases | Link |
|---|---|---|---|
| Jira Agent | Issue Management | Search issues, create stories, sprint planning, status updates, bulk operations | View Agent |
| Confluence Agent | Documentation | Search pages, summarize docs, create/update pages, manage spaces | View Agent |
No installation needed - you can start using it immediately from the command line!
</Step>
<Step title="Complete OAuth Authorization">
On first use, you'll be prompted to authorize the MCP server in your browser. This is a one-time setup that grants access based on your Atlassian permissions.
</Step>
<Step title="Run Your First Command">
From anywhere in your terminal:
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Show me my open issues assigned to me"
```
The agent will connect to your Atlassian site and return results.
</Step>
</Steps>
<Info>
**Pro tip**: Create a shell alias for the Jira agent:
```bash
alias jira-ai='cn --agent continuedev/atlassian-continuous-ai-jira-agent'
```
Then use: `jira-ai "your prompt"`
</Info>
No installation needed - you can start using it immediately from the command line!
</Step>
<Step title="Complete OAuth Authorization">
On first use, you'll be prompted to authorize the MCP server in your browser. This is a one-time setup that grants access based on your Atlassian permissions.
</Step>
<Step title="Run Your First Command">
From anywhere in your terminal:
```bash
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "Summarize the Q2 planning page"
```
The agent will connect to your Atlassian site and return results.
</Step>
</Steps>
<Info>
**Pro tip**: Create a shell alias for the Confluence agent:
```bash
alias confluence-ai='cn --agent continuedev/atlassian-continuous-ai-confluence-agent'
```
Then use: `confluence-ai "your prompt"`
</Info>
<Step title="Add Atlassian MCP">
Install from Hub (recommended) or add YAML manually. Minimal YAML example:
```yaml title="config.yaml"
name: My Config
version: 0.0.1
schema: v1
mcpServers:
- name: Atlassian Rovo MCP
type: sse
url: https://mcp.atlassian.com/v1/sse
connectionTimeout: 30
```
Notes:
- The Atlassian MCP uses **Server-Sent Events (SSE)** transport type
- OAuth is handled automatically on first connection
- No API keys or tokens needed in the config
</Step>
<Step title="Test the Connection">
Launch Continue and ask:
```
List my Jira projects
```
You'll be prompted to authorize in your browser if this is your first time.
</Step>
</Steps>
The agent will automatically detect and use your configuration along with the Atlassian MCP for Jira, Confluence, and Compass operations.
Use natural language to explore, triage, and manage Jira issues. The agent calls Atlassian MCP tools under the hood.
<Info> **Running in headless mode**: Add `-p` flag before your prompt and `--auto` flag at the end: ```bash cn --agent continuedev/atlassian-continuous-ai-jira-agent -p "your prompt" --auto ``` **Important**: Complete browser OAuth authentication first before using headless mode. </Info>```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Find all open bugs in Project Alpha"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Show me all issues assigned to me that are in progress"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "List all issues in the current sprint. Group by assignee and priority. Summarize the workload distribution and flag any overloaded team members."
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Create a story titled 'Redesign onboarding flow' in Project Alpha. Description: We need to simplify the user registration process by reducing steps from 5 to 3. Target completion: Q3."
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Create five Jira issues from these meeting notes: 1) Fix login timeout bug 2) Update API documentation 3) Implement dark mode toggle 4) Review security audit findings 5) Optimize database queries"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Move PROJ-123 to In Progress and add a comment: Starting work on this today. ETA: end of week."
```
Access, search, and manage your team's documentation directly from Continue.
<Info> **Running in headless mode**: Add `-p` flag before your prompt and `--auto` flag at the end: ```bash cn --agent continuedev/atlassian-continuous-ai-confluence-agent -p "your prompt" --auto ``` **Important**: Complete browser OAuth authentication first before using headless mode. </Info>```bash
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "Summarize the Q2 planning page from the Engineering space"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "Find all pages about API authentication in our developer docs"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "What Confluence spaces do I have access to?"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "Create a page titled 'Team Goals Q3' in the Engineering space. Include sections for: Objectives, Key Results, and Timeline."
```
```bash
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "Update the 'Onboarding Guide' page to add a new section about our code review process"
```
Query and manage your service architecture with Compass integration.
<Info> **Running in headless mode**: Add `-p` flag before your prompt and `--auto` flag at the end. Complete browser OAuth authentication first before using headless mode. </Info>```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "What services depend on the api-gateway component?"
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Create a service component for the current repository. Use the package.json to infer details."
```
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Import Compass components and custom fields from this CSV: [paste CSV data]"
```
Or reference a file:
```bash
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Import Compass components from services.csv in the current directory"
```
Integrate actions across Jira, Confluence, and Compass for powerful cross-product workflows.
<Info> **Running in headless mode**: Add `-p` flag before your prompt and `--auto` flag at the end. Complete browser OAuth authentication first before using headless mode. </Info> <AccordionGroup> <Accordion title="Link Jira to Confluence" icon="link"> Connect related content across products.```bash
# Using Jira Agent for issue-centric workflow
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Link Jira tickets PROJ-123, PROJ-456, and PROJ-789 to the 'Sprint 23 Release Plan' Confluence page"
```
```bash
# Using Confluence Agent for docs-centric workflow
cn --agent continuedev/atlassian-continuous-ai-confluence-agent "Fetch the Confluence documentation page linked to the user-authentication Compass component"
```
```bash
# Using Jira Agent to pull issue data and create in Confluence
cn --agent continuedev/atlassian-continuous-ai-jira-agent "Generate release notes for all Jira issues completed in Sprint 23. Create a Confluence page in the Release Notes space with: New features (grouped by epic), Bug fixes, Known issues, Deployment instructions"
```
Managing Access:
Security: All traffic is encrypted via HTTPS (TLS 1.2+), and access respects existing user permissions. </Card>
After completing this guide, you have a complete AI-powered Atlassian workflow system that: