Skip to main content

A CLI utility to track how much time you spent on JIRA tickets

Project description

README

This command line tool let's you log the time that you've spent on one or more JIRA issues without the need to click through the JIRA web interface. We allow you to log the time either automatically (with a timer) or manually (by entering how much time you've spent in words, e.g. 1h, 30m).

Demo

First time setup and automatic time logging

This demonstration shows how jira-worklogger is set up for the first time and then used to track the time you spent on a JIRA issue automatically. For this, select at least one issue from your open issues list start the timer. Leave the terminal open and start working on your issue. When you're done with your work, come back and press any key to stop the time and log the time in JIRA togethe with an optional comment.

Manual time logging

The following demo shows how you can show your issues from a pre-configure JIRA Server and select one to track the time manually. This is done by giving a duration like 1h for one hour or 20m for twenty minutes.

Advanced usage and "did"

The following demo shows how to work on multiple issues with different tracking methods as well as how to show your work log using the did tool. NOTE: At the time of writing this my pr was not yet merged into did.

Result in JIRA

In JIRA the result from the two time logs will look like this:

Usage

Personal access token (PAT)

In order to acquire a personal access token for use with jira-worklogger you have to go to https://<YOUR_JIRA_SERVER>/secure/ViewProfile.jspa?selectedTab=com.atlassian.pats.pats-plugin:jira-user-personal-access-tokens.

For the Red Hat issues, that is here.

Run from source

Clone the code.

$ git clone https://github.com/kwk/jira-worklogger
$ cd jira-worklogger

Install dependencies and set up virtual environment.

$ poetry install
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: jira-worklogger (0.1.0)

Run the jira-worklogger CLI tool using poetry.

$ poetry run jira-worklogger
? Please select a server to work with (Use arrow keys)
 » Red Hat - https://issues.redhat.com
   ---------------
   Add a new server

Build Documentation

To build the documentation, you need the agg executable in your path. asciinema is needed if you want to record your own screencaptures.

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

jira_worklogger-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

jira_worklogger-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file jira_worklogger-0.1.0.tar.gz.

File metadata

  • Download URL: jira_worklogger-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jira_worklogger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec0d73f84870680b81b0dc05db4e46806a19974b88de5e70a87048240133a9a5
MD5 c5fc071df2b1922d84d241f36abbf4ed
BLAKE2b-256 24e57594438c4b03f64015c36df4d06da8e88b024d53f5eb94d560240f2de6b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira_worklogger-0.1.0.tar.gz:

Publisher: python-publish.yml on kwk/jira-worklogger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jira_worklogger-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jira_worklogger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a2547b93f9a6d85371358bc58861ab792c64d85684fd23ea09a1c5dbfd822e8
MD5 142284dd8b1388d1e4bdaf8608e4bb85
BLAKE2b-256 553bc17f5dbf092e1c00a973ef6b0a8c0ed344df31747e11caa3088adfca3f71

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira_worklogger-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on kwk/jira-worklogger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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