Enable your agents to manage issues, projects, and workflows through Jira. Create and update issues, track project progress, manage assignments, and streamline your project management with AI-powered automation.
summary (string, required): Summary - A brief one-line summary of the issue. (example: “The printer stopped working”).
project (string, optional): Project - The project which the issue belongs to. Defaults to the user’s first project if not provided. Use Connect Portal Workflow Settings to allow users to select a Project.
issueType (string, optional): Issue type - Defaults to Task if not provided.
jiraIssueStatus (string, optional): Status - Defaults to the project’s first status if not provided.
assignee (string, optional): Assignee - Defaults to the authenticated user if not provided.
descriptionType (string, optional): Description Type - Select the Description Type.
Options: description, descriptionJSON
description (string, optional): Description - A detailed description of the issue. This field appears only when ‘descriptionType’ = ‘description’.
additionalFields (string, optional): Additional Fields - Specify any other fields that should be included in JSON format. Use Connect Portal Workflow Settings to allow users to select which Issue Fields to update.
from crewai import Agent, Task, Crewfrom crewai_tools import CrewaiEnterpriseTools# Get enterprise tools (Jira tools will be included)enterprise_tools = CrewaiEnterpriseTools( enterprise_token="your_enterprise_token")# Create an agent with Jira capabilitiesjira_agent = Agent( role="Issue Manager", goal="Manage Jira issues and track project progress efficiently", backstory="An AI assistant specialized in issue tracking and project management.", tools=[enterprise_tools])# Task to create a bug reportcreate_bug_task = Task( description="Create a bug report for the login functionality with high priority and assign it to the development team", agent=jira_agent, expected_output="Bug report created successfully with issue key")# Run the taskcrew = Crew( agents=[jira_agent], tasks=[create_bug_task])crew.kickoff()
from crewai_tools import CrewaiEnterpriseTools# Get only specific Jira toolsenterprise_tools = CrewaiEnterpriseTools( enterprise_token="your_enterprise_token", actions_list=["jira_create_issue", "jira_update_issue", "jira_search_by_jql"])issue_coordinator = Agent( role="Issue Coordinator", goal="Create and manage Jira issues efficiently", backstory="An AI assistant that focuses on issue creation and management.", tools=enterprise_tools)# Task to manage issue workflowissue_workflow = Task( description="Create a feature request issue and update the status of related issues", agent=issue_coordinator, expected_output="Feature request created and related issues updated")crew = Crew( agents=[issue_coordinator], tasks=[issue_workflow])crew.kickoff()
from crewai import Agent, Task, Crewfrom crewai_tools import CrewaiEnterpriseToolsenterprise_tools = CrewaiEnterpriseTools( enterprise_token="your_enterprise_token")project_analyst = Agent( role="Project Analyst", goal="Analyze project data and generate insights from Jira", backstory="An experienced project analyst who extracts insights from project management data.", tools=[enterprise_tools])# Task to analyze project statusanalysis_task = Task( description=""" 1. Get all projects and their issue types 2. Search for all open issues across projects 3. Analyze issue distribution by status and assignee 4. Create a summary report issue with findings """, agent=project_analyst, expected_output="Project analysis completed with summary report created")crew = Crew( agents=[project_analyst], tasks=[analysis_task])crew.kickoff()
from crewai import Agent, Task, Crewfrom crewai_tools import CrewaiEnterpriseToolsenterprise_tools = CrewaiEnterpriseTools( enterprise_token="your_enterprise_token")automation_manager = Agent( role="Automation Manager", goal="Automate issue management and workflow processes", backstory="An AI assistant that automates repetitive issue management tasks.", tools=[enterprise_tools])# Task to automate issue managementautomation_task = Task( description=""" 1. Search for all unassigned issues using JQL 2. Get available assignees for each project 3. Automatically assign issues based on workload and expertise 4. Update issue priorities based on age and type 5. Create weekly sprint planning issues """, agent=automation_manager, expected_output="Issues automatically assigned and sprint planning issues created")crew = Crew( agents=[automation_manager], tasks=[automation_task])crew.kickoff()
from crewai import Agent, Task, Crewfrom crewai_tools import CrewaiEnterpriseToolsenterprise_tools = CrewaiEnterpriseTools( enterprise_token="your_enterprise_token")schema_specialist = Agent( role="Schema Specialist", goal="Handle complex Jira operations using dynamic schemas", backstory="An AI assistant that can work with dynamic Jira schemas and custom issue types.", tools=[enterprise_tools])# Task using schema-based operationsschema_task = Task( description=""" 1. Get all projects and their custom issue types 2. For each custom issue type, describe the action schema 3. Create issues using the dynamic schema for complex custom fields 4. Update issues with custom field values based on business rules """, agent=schema_specialist, expected_output="Custom issues created and updated using dynamic schemas")crew = Crew( agents=[schema_specialist], tasks=[schema_task])crew.kickoff()