Manage Jira Issues Programmatically
A LlamaIndex tool that performs Jira issue operations including search, creation, commenting, deletion, and modifications of summary, assignee, status, and due
Why it matters
Automate your Jira issue management by programmatically searching, creating, updating, and deleting issues. Streamline bug tracking and project management tasks directly from your applications.
Outcomes
What it gets done
Create new Jira issues with specified details.
Search for existing Jira issues based on various criteria.
Update issue summaries, assignees, statuses, and due dates.
Delete Jira issues.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/li-tool-tools-jira-issue | bash Overview
Jira Issue Tool
Jira Issue Tool is a LlamaIndex integration that enables AI agents to perform Jira issue operations including search, creation, commenting, deletion, and field modifications (summary, assignee, status, due date). It connects to Jira instances using email and API token authentication. Use this tool when you need to perform Jira issue operations programmatically through LlamaIndex agents, such as creating bugs, reassigning tasks based on queries, or updating issue statuses.
What it does
Jira Issue Tool is a LlamaIndex integration that enables operations on Jira issues. It supports searching for issues, creating new ones, adding comments, deleting issues, and modifying key fields like summary, assignee, task status, and due date.
When to use - and when NOT to
Use this tool when you need to perform Jira issue operations programmatically through LlamaIndex agents, such as creating bugs, reassigning tasks, updating issue statuses, or deleting issues based on search criteria.
Do not use this tool if you need advanced Jira features like sprint management, custom field manipulation beyond the supported operations, or complex JQL query building - it focuses on basic issue CRUD operations only.
Inputs and outputs
You provide Jira server credentials (server URL, email, API token) and a project key to initialize the tool. The agent then accepts commands describing the desired Jira operations.
The tool performs operations such as searching matching issues and updating their status. For example, a command to "find an issue about llamaindex due on Aug 2 2025 and change its status to Done" will search matching issues and update their status.
Integrations
This tool integrates with:
- Jira: Connects using email and API token authentication to perform issue operations
- LlamaIndex ReActAgent: Works as a tool within LlamaIndex agent frameworks
- OpenAI LLMs: Compatible with OpenAI models (demonstrated with gpt-4o-mini)
Usage example
from llama_index.tools.jira_issue import JiraIssueToolSpec
from llama_index.llms.openai import OpenAI
llm = OpenAI(model="gpt-4o-mini", api_key=OPENAI_API_KEY, temperature=0.0)
tool_spec = JiraIssueToolSpec(
server_url=SERVER, email=EMAIL, api_token=API_KEY
)
agent_name = "Jira Issue Agent"
project_key = "YOUR_PROJECT_KEY"
system_prompt = f"""You are a helpful assistant that answers JIRA-related questions with a list of JIRA tools available for use. Your project key is '{project_key}'."""
agent = ReActAgent.from_tools(
jira_tools,
llm=llm,
callback_manager=callback_manager,
name=agent_name,
system_prompt=system_prompt,
verbose=True,
max_iterations=20,
)
# Multi-step bug issue creation
response = await agent.achat(
"Create a test bug due by Aug 2 2025 and assign it to John Doe. this bug addresses the wrong temperature setting in the LLMs."
)
print(response)
# Search & Reassign an issue
response = await agent.achat(
"There's an issue about building a jira agent, assigned to John Doe. Find it and reassign it to Jane Doe."
)
print(response)
Who it's for
This tool is for users who want to perform Jira issue management operations through LlamaIndex agents.
Source README
Jira Issue Tool
This tool performs basic Jira issue operations, including search, creation, commentation, deletion, and modifications of summary, assignee, task status, and due date.
Usage
Example:
from llama_index.tools.jira_issue import JiraIssueToolSpec
from llama_index.llms.openai import OpenAI
llm = OpenAI(model="gpt-4o-mini", api_key=OPENAI_API_KEY, temperature=0.0)
tool_spec = JiraIssueToolSpec(
server_url=SERVER, email=EMAIL, api_token=API_KEY
)
agent_name = "Jira Issue Agent"
project_key = "YOUR_PROJECT_KEY"
system_prompt = f"""You are a helpful assistant that answers JIRA-related questions with a list of JIRA tools available for use. Your project key is '{project_key}'."""
agent = ReActAgent.from_tools(
jira_tools,
llm=llm,
callback_manager=callback_manager,
name=agent_name,
system_prompt=system_prompt,
verbose=True,
max_iterations=20,
)
### Multi-step bug issue creation
response = await agent.achat(
"Create a test bug due by Aug 2 2025 and assign it to John Doe. this bug addresses the wrong temperature setting in the LLMs."
)
print(response)
### Search & Reassign an issue
response = await agent.achat(
"There's an issue about building a jira agent, assigned to John Doe. Find it and reassign it to Jane Doe."
)
print(response)
### Search & Mark an issue 'Done'
response = await agent.achat(
"Find an issue about llamaindex due on Aug 2 2025. Change its status to Done."
)
print(response)
### Delete issues
response = await agent.achat("Delete all issues assigned to John Doe")
print(response)
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.