# JiraAPIWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper)

Wrapper for Jira API. You can connect to Jira with either an API token or OAuth2.
- with API token, you need to provide the JIRA_USERNAME and JIRA_API_TOKEN
    environment variables or arguments.
ex: JIRA_USERNAME=your_username JIRA_API_TOKEN=your_api_token
- with OAuth2, you need to provide the JIRA_OAUTH2 environment variable or
    argument as a dict having as fields "client_id" and "token" which is
    a dict containing at least "access_token" and "token_type".
ex: JIRA_OAUTH2='{"client_id": "your_client_id", "token":
    {"access_token": "your_access_token","token_type": "bearer"}}'

## Signature

```python
JiraAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `jira`
- `confluence`
- `jira_username`
- `jira_api_token`
- `jira_oauth2`
- `jira_instance_url`
- `jira_cloud`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/validate_environment)
- [`parse_issues()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/parse_issues)
- [`parse_projects()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/parse_projects)
- [`search()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/search)
- [`project()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/project)
- [`issue_create()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/issue_create)
- [`page_create()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/page_create)
- [`other()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/other)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/jira/JiraAPIWrapper/run)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/utilities/jira.py#L29)