A tool to log time to JIRA issues directly from the terminal.
Project description
setjtime
A Jira time logger tool via terminal.
setjtime allows you to log time to JIRA issues directly from your terminal. It supports adding simple comments so you can provide context for the time logged. This tool uses the REST API of JIRA to interact with your JIRA server, and requires environment variables for configuration.
Features
- Log time to JIRA issues directly from the terminal
- Add comments to JIRA issues for context
- Environment variable configuration for JIRA server, username, and password
- Works as a global CLI command after installation
Installation
pip install setjcomment
Or install from source:
git clone https://github.com/JuanJoseSolorzano/setjtime_project.git
cd setjtime_project
pip install .
Required Environment Variables
JIRA_SERVER: The URL of your JIRA server (e.g.,yourdomain.atlassian.net).JIRA_USERNAME: Your JIRA username (usually your email address).JIRA_PASSWORD: Your JIRA API token or password.
Usage
positional arguments:
issue_id The ID of the JIRA issue (e.g., 6552 for SETV-6552).
optional arguments:
-h, --help show this help message and exit
-t TIME, --time TIME : Time spent (e.g., "2h", "30m").
-c COMMENT, --comment COMMENT : Add a short unformatted comment [optional].
Examples
setjcomment 6552 -s "This is a short comment."
setjcomment 6552 -t "2h" # Logs 2 hours to the JIRA issue.
setjcomment 6552 -c "This is a short comment." # Adds a short comment to the JIRA issue.
License
See LICENSE for details.
Author
Juan Jose Solorzano Carrillo — juanjose.solorzano.c@gmail.com
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
setjtime-1.2.1.tar.gz
(2.8 kB
view details)
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 setjtime-1.2.1.tar.gz.
File metadata
- Download URL: setjtime-1.2.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70d94a87acd5990f79f7b04191c1799deb37a34042e3ae49a3806beb48ad9234
|
|
| MD5 |
08cee0e6835b1bdc902bbaeacc4e9ca0
|
|
| BLAKE2b-256 |
0f696df2864ad7d211ce215b90916f0fa2834df050a67a09e1e6d52a8f6e95de
|
File details
Details for the file setjtime-1.2.1-py3-none-any.whl.
File metadata
- Download URL: setjtime-1.2.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87299750b9ee1d50c7bdbfb2e570dc2d0ebb053e8f1649f37b09b9696fa1ae5c
|
|
| MD5 |
b9990ca4711cc4695da8b20d3cfb4949
|
|
| BLAKE2b-256 |
9eb8d1b40759f36188ccc9be7abb948a9cf078f343d3d92ea0577d3b3775954e
|