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.3.3.tar.gz
.
File metadata
- Download URL: llama_index_readers_jira-0.3.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd3fb8fb69aad1a5a85853961fcda50fdf9b88d5128b1f89537d0365ce95b86 |
|
MD5 | e20750e106cebf666ae532ec4095d790 |
|
BLAKE2b-256 | 7101e62fb69dcfab225e916ee1ebd1e20efb1e536dc953d62e9f3740816b365c |
File details
Details for the file llama_index_readers_jira-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_jira-0.3.3-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.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29f810b37a4253d6d71ee49c2d68adb327d4f4190c80dd429d4973939194f42e |
|
MD5 | 36cb8d28c5768bb8657b0476d9c70ae7 |
|
BLAKE2b-256 | fa23dded49cf97af27893fcbaa771b031316e0d6d973a097641562831e8fc983 |