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
Release history Release notifications | RSS feed
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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e5208b55e3c707f527c9a6e7935323a946208430eecb508531ce265415817f |
|
MD5 | 5f2a5c80312c5970d71692272317f357 |
|
BLAKE2b-256 | beece09e6acf09bff9bc5bd5ba03b62c90409e645e61d7d3c891e62243bab4ed |
Hashes for llama_index_readers_jira-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c868413286ace12315d65685d3dba1706767e227a93f7e4d1522b2f6c4b9179f |
|
MD5 | 3afafe7258a94106dc964d14a787244f |
|
BLAKE2b-256 | 71e5c0307f47d864f319f4599bd7fa5a8cc2b98f4288be5ab17be16056c5d239 |