Skip to main content

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 Carrillojuanjose.solorzano.c@gmail.com

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

setjtime-1.2.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for setjtime-1.2.1.tar.gz
Algorithm Hash digest
SHA256 70d94a87acd5990f79f7b04191c1799deb37a34042e3ae49a3806beb48ad9234
MD5 08cee0e6835b1bdc902bbaeacc4e9ca0
BLAKE2b-256 0f696df2864ad7d211ce215b90916f0fa2834df050a67a09e1e6d52a8f6e95de

See more details on using hashes here.

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

Hashes for setjtime-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87299750b9ee1d50c7bdbfb2e570dc2d0ebb053e8f1649f37b09b9696fa1ae5c
MD5 b9990ca4711cc4695da8b20d3cfb4949
BLAKE2b-256 9eb8d1b40759f36188ccc9be7abb948a9cf078f343d3d92ea0577d3b3775954e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page