picture of an hourglass, representing time passing or tracking

Gitlab Time Tracker

The Gitlab Time Tracker is a Chrome extension that makes it really easy to log time on your Gitlab issues. It’s is not publicly available yet, but you can contact me to request a test version. Once you have received your test-copy of the tool, you can use this documentation to help out where needed!

Getting started with the Gitlab Time Tracker

Once you have your copy of the Gitlab Time Tracker, open Google Chrome and click on “Extensions” > “Manage extensions”. Make sure to turn developer mode on (there should be a toggle in the top right corner). Click on the “Load unpacked” button and select the extension folder.

Connect the time tracker to your Gitlab

Once activated, the icon should show up in your browser. When you click it, it will prompt you to enter your Gitlab API token. Create one in your personal Gitlab account, enter it and you should connect automatically!

Selecting a main group

Once connected, you can also choose a main group if you are usually working in the same group. This way, you don’t have to keep selecting the same group over and over again. Once a main group is selected, you will only get options for groups and projects that are part of the selected main group.

Logging time

To log time, click the icon, select a group, a project, an issue and click start tracking. You can pause and continue at any time. When clicking stop, you also still have the option to continue logging. Besides that, once stopped you can add a comment, adjust the timing if needed and submit the log to Gitlab. You also have the option to cancel the log. This will remove the unsubmitted log with no option to get it back.

Future options

In the future, I will add the option to manually add time logs. For now, you can log 1 second, stop and adjust the time, to simulate a manual entry. There will most likely be more features coming up in the future, which I will add to this documentation when the features are available.