Skip to content

JiraLog allows you to track time on Jira with CLI

License

Notifications You must be signed in to change notification settings

mirkocesaro/jiralog

Repository files navigation

Jiralog

JiraLog allows you to track time on Jira with CLI

Installation

Download all dependencies with

composer install

After composer has finished downloading all the dependencies, give execution permissions to jiralog file in root directory:

chmod +x jiralog

Create a symlink to the jiralog script in a shared path, for example

 sudo ln -s /path/to/jiralog-project/jiralog /usr/local/bin/jiralog

Copy the .env.example file into .env.

Then, customize .env with your data.

Available commands

Tempo

Work attribute

Get the list of all work attriutes available on tempo

 jiralog tempo:work-attributes

Track worklog

Log a new worklog on tempo.io

 jiralog tempo:log <date> <from> <to> <issue> [<comment>] [--attributes='key:value']

example

jiralog tempo:log 2021-08-25 1330 1400 TASK-73 "Comment"

another example with an attribute

jiralog tempo:log 2021-08-25 1330 1400 TASK-73 "Comment" --attributes='_Activity_:Analysis'

same example with alias

jiralog tempo:log 2021-08-25 1330 1400 TASK-73 "Comment" -a _Activity_:Analysis

Tests

vendor/bin/phpunit

Sources

This app is inspired by Redlog, a repo of Aleron75

License

Refer to LICENSE file for details.

About

JiraLog allows you to track time on Jira with CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published