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.3.0.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.3.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_tools_jira_issue-0.3.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_jira_issue-0.3.0.tar.gz
Algorithm Hash digest
SHA256 32e154aa155948ef354c19dd097f5d0333a655bf375e143edffa1bf648c036af
MD5 bd17536c28d52f3c53e4d7ebf680fd9b
BLAKE2b-256 cddb506b5b5a78996c7c86c58168f904b0fdb5e7d6eccfb15022bffedafa9587

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_tools_jira_issue-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_jira_issue-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 291f495473cb7c817af91b1b3a0837155958735594c8af45383ada35d880eb80
MD5 9b55497757c7c17609f6b7f7a2fc8e81
BLAKE2b-256 d2f6688432681461972ebab081ca7fa7390e4a30accbab59e39377e14f81fd21

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