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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 204dd67dfbb260a903c342e3e1aca528a79181cee61891d1ed145060ec092c78 |
|
MD5 | 665a4ecd4f45739fdad5f7c7d4432ec1 |
|
BLAKE2b-256 | 1398738fe804dec721734146c436f3cb2b4cb21a7ca2fa610e682dd4e00ee962 |
Hashes for llama_index_readers_jira-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce4c1de8b17abab655413435be416b47e65bf42cb0f1348aa42e24d96e273f5 |
|
MD5 | b4ec487aa0069ffb7765763f8aaebc36 |
|
BLAKE2b-256 | 027ccd2ddafc2c3258c58eced2b1ee940352f29d47d6254d730de77d74f04968 |