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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87172e21070a060978dee4795617449a4c09171aa296d6cbe588c9a5261dfc11 |
|
MD5 | abe24a8446afb0f31df4df91ed4bb7a3 |
|
BLAKE2b-256 | c8d8f426bce0c6825957f98a678e18e792a0f3b2d48392bb4f3a54052d49152e |
Hashes for llama_index_readers_jira-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c633f7b89fc9986d968834d2a1a852a9dc9b7e815e2b66bab3d8cc501b9a474 |
|
MD5 | 71f415134f7b5b7814787295c1cf607a |
|
BLAKE2b-256 | 188099f7f285f2af70aa7d2a9921d9b891c463d9fb9e65bb3623846fb9b1a03b |