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
File details
Details for the file llama_index_readers_jira-0.4.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_jira-0.4.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d7723891506d8e2b6b7c5a7400502566b95ba43b46495dde88b94f46ce25896 |
|
MD5 | ada61be04c5ee1854f5fafab21b1fdda |
|
BLAKE2b-256 | f0a195257ef4fb16e0320daa3cade4e6f2b42a99801a4a79db3694eab6fded80 |
File details
Details for the file llama_index_readers_jira-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_jira-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52be84c6ba9010d4e2f1285abca233f5ee43fbe87bd94627cb3e4d8df1a4fc79 |
|
MD5 | 53dbac3dbdf2e25947272f04ee7452a0 |
|
BLAKE2b-256 | 9882b9151d942a2b40db7caa8074786e0afc85dc4363e0211900c21a2c3351e3 |