https://github.com/thesoftwarehouse/jira-worklog
Simple CLI tool for logging work in Jira
https://github.com/thesoftwarehouse/jira-worklog
cli jira nodejs
Last synced: about 1 month ago
JSON representation
Simple CLI tool for logging work in Jira
- Host: GitHub
- URL: https://github.com/thesoftwarehouse/jira-worklog
- Owner: TheSoftwareHouse
- Created: 2018-10-03T19:34:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T15:39:34.000Z (over 6 years ago)
- Last Synced: 2025-04-21T08:03:39.864Z (about 1 month ago)
- Topics: cli, jira, nodejs
- Language: JavaScript
- Size: 43.9 KB
- Stars: 31
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jira Worklog
Simple CLI tool for logging work in Jira.
- Finds tasks basing on **Jira** (column "In progress") and **Git** activity (in current directory)
- Suggests a number of hours to log (considering current worklogs)
- Works within single project## Usage
```
$ worklog
? Choose date (use arrows): 2018-11-09 (Friday)
? Choose task: (Use arrow keys)
Git
❯ JRA-123 - First task
Jira
JRA-234 - Second task
[ENTER]
$ worklog
? Choose date (use arrows): 2018-11-09 (Friday)
? Choose task: JRA-123 - First task
? Choose time spent: (Use arrow keys)
❯ 4h
3h
2h
1h
[ENTER]
$ worklog
? Choose date (use arrows): 2018-11-09 (Friday)
? Choose task: JRA-123 - First task
? Choose time spent: 4h
? Do you confirm to log 4h of work in task JRA-123? (Y/n)
[ENTER]
$ worklog
? Choose date (use arrows): 2018-11-09 (Friday)
? Choose task: JRA-123 - First task
? Choose time spent: 4h
? Do you confirm to log 4h of work in task JRA-123? Yes
info: Successfully logged 4h of work.
```## Install
```
npm i @tshio/jira-worklog -g
```## Configuration
Initially, `worklog` will ask for following data:
```
? Set project key (like "JRA") JRA
? Set base URL (like "jira.atlassian.net") jira.atlassian.net
? Jira login john.doe
? Jira password [hidden]
```
*Note: passwords are stored in Keychain.*### Logout
To clear credentials and all other settings, use flag `--reset` like:
```
worklog --reset
```# License
MIT