Command-line Time Logger for Jira
First setup the necessary environment variables: JTL_USERNAME and JTL_PASS. You can do this using:
export JTL_USERNAME=my.cool.username
export JTL_PASS=mysecretpass
jtl
or
jtl list
The command is:
jtl logs [options] <date>
Examples:
jtl logs 2018-09-04
to filter by project use:
jtl logs --project=INT 2018-09-04
The command is:
jtl log [options] <issueId> <time> [message]
Examples:
Normal logging:
jtl log INT-123 1h
Logging with a different message:
jtl log INT-123 1h "Wow a cool message"
Logging with a different date than today:
jtl log --date=2018-08-28 INT-123 1h