Overview
The Jira integration enables Potpie agents to access issues, projects, and workflows in the Jira workspace. Authentication uses Atlassian OAuth 2.0 (3LO) with webhook support for real-time notifications.Quick Start
Create Atlassian OAuth App
Go to Atlassian Developer ConsoleCreate an OAuth 2.0 integration with:
- App name: Potpie AI
- Callback URL:
https://app.potpie.ai/api/v2/integrations/jira/callback - Scopes:
read:jira-user read:jira-work write:jira-work manage:jira-webhook offline_access manage:jira-configuration
Connect Jira Site
- Settings → Integrations → Jira
- Click Connect
- Select the Jira site
- Authorize permissions
- Name the integration
Available Tools
The Jira integration provides 10 tools. See Jira Tools in the Tools Reference for full documentation.| Tool | Description |
|---|---|
| Issue Creator | Create a new issue |
| Issue Fetcher | Fetch issue details |
| Issue Updater | Update issue fields |
| Issue Search | Search using JQL |
| Comment Writer | Add a comment |
| Status Mover | Move issue to a new status |
| Issue Linker | Link two issues |
| Project Lister | List all projects |
| Project Details | Get project metadata |
| Project Members | List project members |
Webhook Configuration
When you connect Jira, Potpie automatically registers a webhook to receive real-time issue events — no manual setup required.Webhook Events
jira:issue_created— New issuesjira:issue_updated— Issue changesjira:issue_deleted— Deleted issuescomment_created— New comments
ADF Format
Jira uses Atlassian Document Format (ADF) for rich text:Self-Hosted Setup
Backend Configuration
Add Jira OAuth credentials to the environment:OAuth App Setup
Authentication Type: Atlassian OAuth 2.0 (3LO) Authorization URL:https://auth.atlassian.com/authorize
Token URL: https://auth.atlassian.com/oauth/token
API Base: https://api.atlassian.com/ex/jira/{cloud_id}
The callback URL is dynamically constructed from the deployment hostname:
https://{your-deployment-hostname}/api/v2/integrations/jira/callback
