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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b7d95365123f7b4a9b27ed710ecfdc94cd2f15e610822078c81d380b8754a56 |
|
MD5 | 26a6cfc14e5f5d4b4b40df4c977167c6 |
|
BLAKE2b-256 | f252aec5040e00f26cc48ba5a8968fb0b1d3ab019aecc90ba6cb9e2fa2619f56 |
Hashes for llama_index_readers_jira-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321532c223a26634d571a6db4dcbcbe9b915928fd33421e3026bd8b6ce191082 |
|
MD5 | 94ac0d0a8aa5cc441a5f1ec6d41b1802 |
|
BLAKE2b-256 | 56e7e776ad4750322deaba18935b3d80991d73f3315681a5bc40b905bc37008c |