User login

Time Tracking and Hours Reports in GitLab with GTT

GitLab has time tracking (caveat: Unfortunately this is the Enterprise Edition, not the fully Free Software Community Edition). See:

What it doesn't have is any evident way to see, in a reasonable overview, this time that's been tracked.

I got no responses asking this in #gitlab on IRC: Is there any UI for seeing tracked time by person? I can't find it (or any project overview of time tracked) and it's not documented if there is. As a fallback, is there a way to export this time estimate and tracked information? I'm on GitLab.com but we might go self-hosted at some point, so i'm interested on info about both. https://gitlab.com/gitlab-org/gitlab-ee/issues/1228 didn't have much.

Never did find the documentation for the API of getting tracked time. But i found an awesome tool that makes full use of that API:

https://github.com/kriskbx/gitlab-time-tracker

Installation

Installing that command line wonder was pretty easy.

Upgraded Node on my system with: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

Installed Yarn per this: https://yarnpkg.com/en/docs/install#linux

And then followed the installation instructions: https://github.com/kriskbx/gitlab-time-tracker#installation

Usage

gtt report "uc-davis/patient-hm-brain"

Searched words: 
GitLab timetracking output report
File: 

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.