
    dh<                     Z    S r SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
   " S S\5      rg	)
a|  
This tool allows agents to interact with the atlassian-python-api library
and operate on a Jira instance. For more information on the
atlassian-python-api library, see https://atlassian-python-api.readthedocs.io/jira.html

To use this tool, you must first set as environment variables:
    JIRA_API_TOKEN
    JIRA_USERNAME
    JIRA_INSTANCE_URL
    JIRA_CLOUD

Below is a sample script that uses the Jira tool:

```python
from langchain_community.agent_toolkits.jira.toolkit import JiraToolkit
from langchain_community.utilities.jira import JiraAPIWrapper

jira = JiraAPIWrapper()
toolkit = JiraToolkit.from_jira_api_wrapper(jira)
```
    )Optional)CallbackManagerForToolRun)BaseTool)Field)JiraAPIWrapperc                   x    \ rS rSr% Sr\" \S9r\\S'   \	\S'   Sr
\	\S'   Sr\	\S'    SS
\	S\\   S\	4S jjrSrg	)
JiraAction    z)Tool that queries the Atlassian Jira API.)default_factoryapi_wrappermode namedescriptionNinstructionsrun_managerreturnc                 N    U R                   R                  U R                  U5      $ )z/Use the Atlassian Jira API to run an operation.)r   runr   )selfr   r   s      [/var/www/html/shao/venv/lib/python3.13/site-packages/langchain_community/tools/jira/tool.py_runJiraAction._run(   s!     ##DII|<<     )N)__name__
__module____qualname____firstlineno____doc__r   r   r   __annotations__strr   r   r   r   r   __static_attributes__r   r   r   r	   r	       s^    3"'"GKG
ID#NK
 <@== 78= 
	= =r   r	   N)r    typingr   langchain_core.callbacksr   langchain_core.toolsr   pydanticr   "langchain_community.utilities.jirar   r	   r   r   r   <module>r)      s'   ,  > )  == =r   