Skip to main content

No project description provided

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_jira_issue-0.2.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_tools_jira_issue-0.2.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_jira_issue-0.2.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_tools_jira_issue-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b1728edf5e2219f8214147897cb21a9cd95882020a2846adfe9aa0749cd39b64
MD5 0ba32a7aa2947b699999399d68c76fa0
BLAKE2b-256 1bdbb5141d3fd39e823143179e192c78978c062f0923baa9316311b73be41c27

See more details on using hashes here.

File details

Details for the file llama_index_tools_jira_issue-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_tools_jira_issue-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb9c67a193dd3ae84a8cc2e608fa80c240e36ec4a4195fd464b82e535506ba67
MD5 a321f3622e1f6bbc6a5e6d1691d46025
BLAKE2b-256 0c563cdd9758f497fe36a93e6894b511d9b1962ba0c52a663d15119ae80c6245

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page