Skip to main content

Jira

The Jira agent connector is a Python package that equips AI agents to interact with Jira through strongly typed, well-documented tools. It's ready to use directly in your Python app, in an agent framework, or exposed through an MCP.

Connector for Jira API

Example questions

The Jira connector is optimized to handle prompts like these.

  • Show me all open issues in my Jira instance
  • List recent issues created in the last 7 days
  • List all projects in my Jira instance
  • Show me details for the most recently updated issue
  • List all users in my Jira instance
  • Show me comments on the most recent issue
  • Show me worklogs from the last 7 days
  • Assign a recent issue to a teammate
  • Unassign a recent issue
  • Create a new task called 'Sample task' in a project
  • Create a bug with high priority
  • Update the summary of a recent issue to 'Updated summary'
  • Change the priority of a recent issue to high
  • Add a comment to a recent issue saying 'Please investigate'
  • Update my most recent comment
  • Delete a test issue
  • Remove my most recent comment
  • What issues are assigned to {team_member} this week?
  • Find all high priority bugs in our current sprint
  • Show me overdue issues across all projects
  • What projects have the most issues?
  • Search for users named {user_name}

Unsupported questions

The Jira connector isn't currently able to handle prompts like these.

  • Log time on {issue_key}
  • Transition {issue_key} to Done

Installation

uv pip install airbyte-agent-jira

Usage

Connectors can run in open source or hosted mode.

Open source

In open source mode, you provide API credentials directly to the connector.

from airbyte_agent_jira import JiraConnector
from airbyte_agent_jira.models import JiraAuthConfig

connector = JiraConnector(
auth_config=JiraAuthConfig(
username="<Your Atlassian account email address>",
password="<Your Jira API token from https://id.atlassian.com/manage-profile/security/api-tokens>"
)
)

@agent.tool_plain # assumes you're using Pydantic AI
@JiraConnector.tool_utils
async def jira_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})

Hosted

In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.

This example assumes you've already authenticated your connector with Airbyte. See Authentication to learn more about authenticating. If you need a step-by-step guide, see the hosted execution tutorial.

from airbyte_agent_jira import JiraConnector, AirbyteAuthConfig

connector = JiraConnector(
auth_config=AirbyteAuthConfig(
external_user_id="<your_external_user_id>",
airbyte_client_id="<your-client-id>",
airbyte_client_secret="<your-client-secret>"
)
)

@agent.tool_plain # assumes you're using Pydantic AI
@JiraConnector.tool_utils
async def jira_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})

Full documentation

Entities and actions

This connector supports the following entities and actions. For more details, see this connector's full reference documentation.

EntityActions
IssuesAPI Search, Create, Get, Update, Delete, Search
ProjectsAPI Search, Get, Search
UsersGet, List, API Search, Search
Issue FieldsList, API Search, Search
Issue CommentsList, Create, Get, Update, Delete, Search
Issue WorklogsList, Get, Search
Issues AssigneeUpdate

Authentication

For all authentication options, see the connector's authentication documentation.

Jira API docs

See the official Jira API reference.

Version information

  • Package version: 0.1.94
  • Connector version: 1.1.6
  • Generated with Connector SDK commit SHA: 8c602f77c94fa829be7c1e10d063c5234b17dbef
  • Changelog: View changelog