Skip to main content

Jira time tracking tool built on the command line to take context from your various git repositories.

Project description

Build Status Coverage Status

jtime - A simple tool that provides git-aware time-tracking against JIRA issues without having to leave the command-line.

Basic Workflow

$ git checkout -b SOC-2355
$ jtime mark
Set mark at 4:50 PM on SOC-2355 by changing status to "In Progress"

# Work for 5 minutes

$ jtime status
(SOC-2355) Backend: Implement notification message types
  Status: In Progress as of Mon 02/24/14 04:50 PM
  Assignee: allan.glen
Time logged (0m):
  No worklogs
5m elapsed (use "jtime log ." to log elapsed time or "jtime log <duration> (ex. 30m, 1h etc.)" to log a specific amount of time)

# Log 5 minutes of time (or just use 'jtime log .' to log all elapsed time)
$ jtime log 5m
Logged 5m against issue SOC-2355

# Do some more work (22 minutes) but get asked to look at another branch.  Log time on the current branch before switching.

$ jtime log .
Logged 22m against issue SOC-2355

# Checkout the other branch and log some time (but don't mark the ticket since it isn't mine)

$ git checkout API-1234
$ jtime log 30m
Logged 30m against issue API-1234

# Back to work on SOC-2355..  mark it after checkout to start counting from now
$ git checkout SOC-2355
$ jtime mark
Set mark at 18:14:23 on SOC-2355 by touching last work log

# 68 minutes pass..

$ jtime status
(SOC-2355) Backend: Implement notification message types
  Status: In Progress as of Mon 02/24/14 04:50 PM
  Assignee: allan.glen
Time logged (36m):
  Mon 02/24/14 03:52 PM - allan.glen (5m): Working on issue SOC-2355
  Mon 02/24/14 04:44 PM - allan.glen (22m): Working on issue SOC-2355
68m elapsed (use "jtime log ." to log elapsed time or "jtime log <duration> (ex. 30m, 1h etc.)" to log a specific amount of time)

$ jtime log . -m "Done for the day.."
Logged 68m against issue SOC-2355 (Done for the day..)

$ jtime status
(SOC-2355) Backend: Implement notification message types
  Status: In Progress as of Mon 02/24/14 04:50 PM
  Assignee: allan.glen
Time logged (36m):
  Mon 02/24/14 03:52 PM - allan.glen (5m): Working on issue SOC-2355
  Mon 02/24/14 04:44 PM - allan.glen (22m): Working on issue SOC-2355
  Mon 02/24/14 05:14 PM - allan.glen (68m): Done for the day..
0m elapsed

# Go home for the day.  Mark the ticket the next morning and keep rolling..
$ jtime mark
Set mark at 08:35 AM on SOC-2355 by touching last work log

Installation

pip install jtime
jtime config

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

jtime-0.5.4.tar.gz (22.8 kB view details)

Uploaded Source

File details

Details for the file jtime-0.5.4.tar.gz.

File metadata

  • Download URL: jtime-0.5.4.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jtime-0.5.4.tar.gz
Algorithm Hash digest
SHA256 3c450c30f73d7529de0357ec331550494a116c5a656cabc3d7ce7d39ac999ab7
MD5 791c658832f4a9d7fc5c7f78322b3fcb
BLAKE2b-256 cad74baffe11ef200107b7628073f27fb6238c940d3e2229f859fc4858cfb540

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