jira-creator
A powerful tool that streamlines the creation of JIRA issues such as stories, bugs, epics, spikes, and tasks. With the use of standardized templates and the option of AI-enhanced descriptions, you can create JIRA issues quickly and efficiently.
⚡ Quick Start
Get up and running in under 30 seconds.
1. Create your configuration file and enable autocomplete
Create a bash script with the values of your JIRA environment variables and enable the autocomplete feature with the following command:
mkdir -p ~/.bashrc.d
cat <<EOF > ~/.bashrc.d/jira.sh
# Your environment variables here...
# Enable autocomplete
eval "$(/usr/local/bin/rh-issue --_completion | sed 's/rh_jira.py/rh-issue/')"
EOF
source ~/.bashrc.d/jira.sh
2. Link the command-line tool wrapper
Make the command-line tool wrapper executable and link it to your local bin directory:
chmod +x jira_creator/rh-issue-wrapper.sh
sudo ln -s $(pwd)/jira_creator/rh-issue-wrapper.sh /usr/local/bin/rh-issue
3. Run the tool
You can create a new JIRA issue with the following command:
rh-issue create story "Improve onboarding experience"
🧪 Usage & Commands
// Your command list goes here...
🤖 AI Provider Support
Incorporate different AI providers by setting the AI_PROVIDER environment variable.
Use ollama for managing different models:
mkdir -vp ~/.ollama-models
docker run -d -v ~/.ollama-models:/root/.ollama -p 11434:11434 ollama/ollama
Various AI providers are supported, including OpenAI, LLama3, DeepSeek, and more. Setup details for each provider are provided below.
🛠 Dev Setup
Install development dependencies with pipenv:
pipenv install --dev
Testing & Linting
Run the tests and linters with:
make test
make lint
make super-lint
⚙️ How It Works
The tool:
- Loads field definitions from
.tmplfiles located in thetemplates/directory. - Uses
TemplateLoaderto generate Markdown descriptions. - Optionally uses AI for improving readability and structure.
- Makes a request to the JIRA's REST API (or performs a dry-run).
📜 License
This project is licensed under the Apache License.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jira_creator-0.0.42.tar.gz.
File metadata
- Download URL: jira_creator-0.0.42.tar.gz
- Upload date:
- Size: 161.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd1145580b9a0f2d2c87c1eb247e69ce0475521886f01ba4aef4959d1a4a9209
|
|
| MD5 |
eaece61d9e38bcee16f7479b88fea514
|
|
| BLAKE2b-256 |
6e3a6652e13685ad9aadc398c0437199b786cda9a2079d835954185fd204f601
|
File details
Details for the file jira_creator-0.0.42-py3-none-any.whl.
File metadata
- Download URL: jira_creator-0.0.42-py3-none-any.whl
- Upload date:
- Size: 268.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2e4b9a967fab526c27251a0de25e061cdd77954181a087ae857812082875a3a
|
|
| MD5 |
1497bbe0e873a5ce90e9a10becbd1738
|
|
| BLAKE2b-256 |
415dc878b222c09123125f5ded3117cc9cb005e3998c5cb9d9588006cc09c9f2
|