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
- Host: GitHub
- URL: https://github.com/exu/jira-timetracker
- Owner: exu
- License: wtfpl
- Created: 2016-02-18T14:54:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-21T13:13:05.000Z (over 10 years ago)
- Last Synced: 2025-03-26T16:29:29.806Z (over 1 year ago)
- Language: Go
- Size: 21.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.