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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36161d5ec5c948dec239f789dd0d040c889ebc47891a4084f8dfa94c821715d5 |
|
MD5 | 567bb0c41c0651a94e530148a93bc3c4 |
|
BLAKE2b-256 | ce683d39bd9e9a8553006fcb314d240766392884ce29b141028ac05b20ec46a6 |
Hashes for llama_index_readers_jira-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f575e22a2bf0d9191777fd295c9fed28182b11c8cc63321b98515218aa9c54 |
|
MD5 | 7f50bd620bd6c2cb9e0f20132aa2577c |
|
BLAKE2b-256 | f925c8ce2d8b926cc9fb4400cfc804d406918962095b3b1cd0086df4d650af8c |