https://github.com/zigomir/jira_tracker
Track your time, spent on issues from command line
https://github.com/zigomir/jira_tracker
Last synced: about 1 year ago
JSON representation
Track your time, spent on issues from command line
- Host: GitHub
- URL: https://github.com/zigomir/jira_tracker
- Owner: zigomir
- License: mit
- Created: 2013-09-04T07:00:13.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-09-14T19:29:07.000Z (over 11 years ago)
- Last Synced: 2025-04-05T04:39:00.164Z (about 1 year ago)
- Language: Ruby
- Size: 150 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JiraTracker
Simple tool to track the time you spent on Jira issues.
## Setup
```bash
gem install jira_tracker
jira_tracker initialize
```
## Usage
```bash
jira_tracker ""
```
When you work on specific ticket
```bash
jira_tracker xoya-10 1h "test comment"
```
When you don't have any ticket but you work on a project
```bash
jira_tracker xoya 1h "test comment"
```
If you put `-` (dash, like `xoya-10`) in a first argument, program will try to find a specific ticket,
otherwise will look for a project with ticket that has summary `Time Tracking Ticket`.
*You can specify a time unit after a time value 'X', such as Xw, Xd, Xh or Xm,
to represent weeks (w), days (d), hours (h) and minutes (m), respectively.*
## Developer docs for JIRA REST api
[Worklog POST request](https://docs.atlassian.com/jira/REST/latest/#idp2062512)