Skip to content

Time tracking

Users can book their time or units spent on an activity within a project directly on work packages, which gives a clear indication of how much effort the project activities require. You can log time in the work package view, track time via the time tracking button or via a commit message. You can also log time directly from My spent time widget on My Page.

Note: To use the time tracking functionality, the Time and costs module needs to be activated in the project settings.

TopicContent
Log time in the work package viewHow to log time to a work package.
Log time via the time tracking buttonHow to track time in real time using the start/stop time tracking button
Log time via commit messageHow to log time via a commit message to a work package.
Log time via My pageHow to easily track and display spent time in the spent time widget on the MyPage.
Edit logged timeHow to edit logged time on a work package.
Delete time entriesHow to delete time entries logged to a work package.
Log and edit time for other usersHow to log time to work packages.
Define hourly rate for labor costsHow to easily track labor costs per user.
Toggl integrationHow to track spent time with Toggl.
TimeCamp integrationHow to track spent time using TimeCamp.
Time Tracker integrationHow to record and log spent time using Time Tracker.

Log time in the work package view

In order to log spent hours for a certain activity, open the details of the corresponding work package. Select Log time from the More functions drop down menu, the icon with the three dots in the top right of the work packages details. Or use the Log time icon next to Spent time.

Alternatively, you can also log time via the work package table. To do this, simply click with the right mouse pointer on the line of the work package, which you want to track times for and then select "log time" from the entries in the list. You will then also be led to the form for logging time.

Log time from a work package

You will be directed to the detailed view to log time where you can edit the following:

  • The date, for which the time will be logged.
  • The actually logged time (in hours).
  • The Activity drop down menu offers a choice of activity categories, such as coordination or development. The range of categories can vary from project to project and can be edited by a project administrator or a role with respective permissions.
  • The comment field, where you can note a more detailed description of the activities that you log time for.
  • Don’t forget to Save your logged time.

time-logging-pop-up

The aggregated time spent on a work package is shown in the work package details view.

Log time via the time tracking button

Starting with Nepenthes 13.0, you can also track time in real time using the start/stop time tracking button. To do this, navigate to a work package you are working on and click on the Start time tracking button.

Nepenthes start time tracking button

This will start the time tracking timer for the current work package. A timer icon will also appear next to your avatar in the top right corner as a reminder in case you navigate away from the work package.

Nepenthes time tracking button in action

Once you are done working, you can stop tracking time by clicking the Stop time tracking button. This will open a pop up window with the recorded time spent based on the timer. You may correct or adjust this time manually if you wish.

If you want to continue tracking time, click Cancel and the timer will continue running. If you do not want to log time, click Delete. Clicking Save will log the time the same as if you had manually logged it.

Nepenthes stop time tracking button

If you navigate away from the work package in which you have a timer running, you can easily navigate back to it or stop the timer via the time tracking controls visible when you click on your avatar from anywhere in Nepenthes.

Nepenthes_stop_tracking_from_avatar

Log time via commit message

Enable time logging option must be activated under system settings in order to log time via a commit message.

To log time via commit message Repository module must be activated and an SVN or Git repository needs to be configured. Once it is configured you can enter the following syntax into a commit message of your client (for example GitHub desktop client or a command line client) to log time: refs #work package number @amount of hours. For example refs #123 @2h will log 2 hours of spent time for the work package number 123.openproject_user_guide_log_time_commit_message

Log time via My Page

You can easily track spent time in the spent time widget on the MyPage and get an overview about all your activities during a week. It is like a weekly timesheet for yourself.

See more information about the My spent time widget on the MyPage.

spent time widget

Edit logged time

To edit logged time, click in the amount of the Spent time in the work packages details view.

Click on the number of spent time to edit

This will bring you to the time tracking report where you will see all time entries to this work package. Depending on your rights you may not be able to edit time entries made by other users.

Click on the Edit icon next to your time entry in the list.

Nepenthes_edit_logged_time

The same detailed view to log your time entries will appear where you are now able to apply your changes.

Delete time entries

To delete a time entry, also click on the Spent time in the details of a work package (same as when editing a time entry).

In the list of time entries, click on the Delete icon next to a time entry to drop the logged time. Depending on your role in a project you may or may not be able to delete time entries of other project members.

Nepenthes_delete_logged_time

Log and edit time for other users

Starting with Nepenthes 12.2, users with certain roles are able to log and edit time for other users.

To enable this functionality, an administrator has to grant this privilege to a particular role in the Roles and Permissions section under Users and Permissions in the administrator settings.

There are two permissions that can be enabled.

  • Log time for other users allows users with that role to log time on behalf of other users
  • Edit time logs for other users allows users with that role to modify and adjust time logged for other users

Permissions to log and edit time for others

Once the permissions have been granted, you will notice subtle differences in the interface.

The Log time modal now has a new field called "User", that allows you to select a user other than yourself:

Log time now has a user field

When accessing cost reports, you will see a new column titled "Logged by". The author of the logged time can be different from the user for whom the time is logged:

Logged by field

A user with permissions to edit time logged by other users can edit each entry as they would their own. The "Logged by" field will always display the name of the user who made the last edit.

Track labor costs

In order to track labor costs, you need to define an hourly rate in your user profile first. The labor costs will then be calculated automatically based on your hours booked and your hourly rate.

Define hourly rate for labor costs

You can define an hourly rate to track labor costs per user. You will need system admin permissions for this. Please navigate to the user profile, e.g. by clicking on a hyper link of the user name on a work package.

Nepenthes_user_guide_select_user_profile

You will be directed to the user's profile page.

Here, you can click the Edit button on the top right corner of the user profile page.

User-profile-edit

Alternatively, you can navigate to Administration -> Users and permissions -> Users and click on the respective user name.

Click on the Rate history tab. Find out here how to continue.