- Generate API token in JIRA. Click here to read more
- Install
npm install jira-time-logger -g
- Set/Reset credentials
log-time --cred
- Config projects.json, add your project with key as the issue prefix and its root url value.
log-time --config
- Start logging
log-time
- The minimum amount of logging time must be a minute, anything below that will fail.
- Edit the projects.json as per you need.
- For any failed status codes, please check the .env file that's being created and ensure correct credentials are being inputted.