Jira time logger
Automate your time logging by utilizing Git hooks and Jira API.
Prerequisites & setup
- Assuming you work on feature branches please create them in format
- Install and use
commit-msgGit hook from https://github.com/pbetkier/add-issue-id-hook to add Jira issue to every commit on a branch.
- Collect all commits from all the repositories in one file using the following
post-commitGit hook: https://gist.github.com/lmullen/6095650
Jira time loggerperiodically to read file from previous point and update worklogs.
Tips & tricks
Configure Git Template
To have Git hooks in every repository you work with make use of git templates: https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook