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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01f76192a38a0bcec2ae7770d344bdd5bf637ceee851a05b4dc6468dee6eb0b1 |
|
MD5 | eb51f8a86014d514f19853448514a79f |
|
BLAKE2b-256 | 0b5a7a2d95b3dc8cc350a3c7e8c90fbe3db78b42409281a68db518f4d473811d |
Hashes for llama_index_readers_jira-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0e68fe9f1632eb4bbdd4dc9fb8dc609839ba8eb433700ae5cea8d4c50f87f4 |
|
MD5 | 70306eec286291ffeef655d2ad22425c |
|
BLAKE2b-256 | 0537bd06152cad2c2d4d4785569dd8f46f3e3205a98ff69502d44db90d225684 |