llama-index readers jira integration
Project description
JIRA Reader
The Jira loader returns a set of issues based on the query provided to the dataloader.
We can follow two methods to initialize the loader-
1- basic_auth -> this takes a dict with the following keys
basic_auth:{ "email": "email", "api_token": "token", "server_url": "server_url" }
2- Oauth2 -> this takes a dict with the following keys
oauth:{ "cloud_id": "cloud_id", "api_token": "token" }
You can follow this link for more information regarding Oauth2 -> https://developer.atlassian.com/cloud/confluence/oauth-2-3lo-apps/
Usage
Here's an example of how to use it
from llama_hub.jira import JiraReader
reader = JiraReader(
email=email, api_token=api_token, server_url="your-jira-server.com"
)
documents = reader.load_data(query="project = <your-project>")
Alternately, you can also use download_loader from llama_index
from llama_index import download_loader
JiraReader = download_loader("JiraReader")
reader = JiraReader(
email=email, api_token=api_token, server_url="your-jira-server.com"
)
documents = reader.load_data(query="project = <your-project>")
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
Built Distribution
Hashes for llama_index_readers_jira-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724e82fd134d129781ad2a57943e2e06796d13c77dbc944e27dcea51bac10679 |
|
MD5 | 5f8b7c6f82488d9db9360b9d2b6270db |
|
BLAKE2b-256 | 2bd0f5ed1e63e74d4a670e2243184ed78a5a134b93c425935d158f3208895aef |
Hashes for llama_index_readers_jira-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37adf0935acbefe5c207979f0f76a517f518a825270c13cd317d98614f7d70b4 |
|
MD5 | 321919184da4a4cd42b2de6d2d1e3397 |
|
BLAKE2b-256 | 2e9bec36a95b10a42a76155b85d3e1afee09f47898b72c88fad61c123ca734ea |