An open API service indexing awesome lists of open source software.

https://github.com/exu/jira-timetracker

quick script to log time in Jira
https://github.com/exu/jira-timetracker

Last synced: about 1 year ago
JSON representation

quick script to log time in Jira

Awesome Lists containing this project

README

          

# JIRA timetracker for BrownOrcas team!

## Installation

get one of precompiled binaries and put somewhere in your `$PATH`

- linux https://github.com/exu/jira-timetracker/raw/master/jira
- mac https://github.com/exu/jira-timetracker/raw/master/jira_mac

or if you don't trust me check code in jira.go and build it yourself

go build jira.go -o jira
cp jira /bin/

## Usage
run jira to get available options

jira

to run jira tt tool run:

jira -u yourJiraUsername -p yourJiraPassword -id ELTCD-1111

or cd to your project directory and omit id parameter it'll get it from git feature branch name

jira -u yourJiraUsername -p yourJiraPassword

default duration of your work is set to 7h (hmmm why? :) ) but you can override it

jira -u yourJiraUsername -p yourJiraPassword -d 2h30m

If you doesn't like agile time tracking put call to this program into your crontab :P

Voila!

### Password in ~/.auth.json file

You can store your credentials in ~/.auth.json file

{
"jira": {
"user": "yourJiraUsername",
"pass": "yourJiraPassword"
}
}

Program will automatically detect presence of this file.