llama-index readers jira integration
Project description
JIRA Reader
pip install llama-index-readers-jira
The Jira loader returns a set of issues based on the query provided to the dataloader.
We can follow three 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" }
3- Personal access Token with Server hosted instance
PATauth:{ "server_url": "server_url", "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_index.readers.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.readers.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>")
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5143e4a5247cc0795b045e93613689a7d0790a4c6fbe1bbd7139ec0d65822e1 |
|
MD5 | 3c9c9767b2c786eef69ac1c853df91f0 |
|
BLAKE2b-256 | c1576fc3c0c4402286b94bb939e4a27398935d67ed56c6e4c7e0dcb780b68bfd |
Hashes for llama_index_readers_jira-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8169974b8b32cf422600f64690589548e340d298ac7fdc7ce2ac04aef78b63 |
|
MD5 | 5afab492ace1306dab7cc7b844310c8f |
|
BLAKE2b-256 | f990c9243a599e46b8b35e9e5a76a4c12eb93df508f3ece95d7847371f572716 |