Skip to content



Repository files navigation

Redmine Hourglass Plugin

Code Climate Build Status Join the chat at

Hourglass is a Redmine plugin to aid in tracking spent time on projects and issues. It allows users to start / stop a timer with an optional reference to what they are working on.

It allows various queries for time entries as well as possibilities to update existing entries.

Hourglass can be configured on a global base as well as per project.

See for the latest features.

Migrate from old Time Tracker plugin

Note: This is a complete rewrite of the Redmine Time Tracker Plugin. While it has feature parity (atleast we hope we didn't forget anything), the code base has changed positively, so further additions are no longer a pain to do.

To ease migrating we added a function to import time entries from the redmine_time_tracker. You can find this in the plugin settings and as a rake task. For more information about migrating from the old time tracker take a look on the Migration Guide

Companion App

We made an app to ease use of the time tracker on mobile (android only for now), check it out:

The Binaries are made available as downloads in the Releases section


  • Per user time tracking
  • Integrates well with Redmine by reusing time entries
  • Overview of spent time for users
  • Track project unrelated time
  • Book tracked time on issues
  • Detailed statistics for team management
  • Status monitor of currently running trackers
  • Detailed list views with Redmine queries integrated
  • Report generation for projects with graphical time representation with customizable company logo
  • Project specific settings


  • Ruby 2.6.8
  • Redmine 4.2.1 (The only version fully tested! - Try older versions of the plugin for older versions of Redmine.)
  • An ExecJS compatible runtime, the gemfile includes therubyracer for unix based systems and windows ships with a default js interpreter (from Win 7 upwards), so most people should be set. If you happen to have problems like for example #29, take a look on the linked ExecJS and install one of the mentioned runtimes.

See .github/workflows/main.yml for details about supported versions. If a newer version doesn't appear in there, feel free to open an issue and report your experience with that Redmine or Ruby version.


  1. If you use Mysql please make sure you have the timezone details loaded, otherwise you miss a lot of nice features.
    sudo mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
  2. Place the source code of this plugin at the plugins/redmine_hourglass folder. Either by:
    • Download a release from Releases and extract it into your Redmine.
    • Or clone the repository:
      git clone plugins/redmine_hourglass
  3. Install required Gems by:
    bundle install
  4. Update the database schema by running the following command from the root of Redmine:
    bundle exec rake redmine:plugins:migrate RAILS_ENV=production
  5. Precompile the assets.
    • If your Redmine is accessed with a path on your domain, like use this option:
      bundle exec rake redmine:plugins:assets RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/redmine
    • If your Redmine is on the root you might simply run:
      bundle exec rake redmine:plugins:assets RAILS_ENV=production
  6. (Re)start your Redmine
  7. Done. Please read the "First time usage" section below.


The process is roughly the same as installing. Make sure you have the desired version in the plugins directory and run the steps above (except 1).

If you had it installed via git before, the first step is simply doing git pull in the plugins/redmine_hourglass directory.

First time usage

  1. Login as an administrator and setup the permissions for your roles

    • developers should have the rights to track time

      Developer Rights

    • managers should have the rights to fix times

      Manager Rights

  2. Enable the "Hourglass" module for your project

    • works well in combination with the built in Time tracking

      Project Modules

  3. You should now see the Time Tracking link in the top menu.

To track time directly on an issue, you can use the context menu (right click in the issues list) in the issue list to start or stop the timer or press the "Start Tracking" button on the top right, next to the default "Book Time" Redmine button.

What's what?

The plugin is intended to help us create invoices for customers. This requires the separation of time that was spent and time that is booked. Only booked times can be billed. More information are available in the wiki.

Time Tracker

The stop watch. Time you spent gets "generated" by the trackers.

Time Log

A time log is a spent amount of time. If you stop the tracker, a time log is created. A time log has nothing attached to it. To add this time to issues or projects, you book time. Role permissions can be edited to disable logging. This might be useful for reviewers, that do not generate time on their own but want to look up statistics on a project or user.

Time Booking

A booking is time that is actually connected to a task (project or issue). To create a booking, you book time from a time log. You are not limited to spent the whole time of a single booking, you can divide as you wish. You however aren't able book more time than what was actually logged. The role you have on projects and their settings determine if you are able to edit bookings or are just allowed to create them.


The plugin offers a list of settings at the Redmine roles and permission settings page. Also you can set the size and file for a logo to be displayed at the report in the Redmine plugin settings, enable rounding behaviour and interval as well as snapping percentage. You can also refine this settings per project if you have different accounting rules per project.

Project Settings


Bug reports and pull requests are welcome on GitHub. Please check the contribution guide.This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to our code of conduct.


The plugin is available released under the terms of GPL.


New Redmine plugin to enhance the time tracking abilities, reports and REST-API.


Code of conduct





No packages published


  • Ruby 72.1%
  • Slim 15.2%
  • CoffeeScript 10.3%
  • SCSS 1.9%
  • Other 0.5%