# Feature OP-12816 - Automatic time tracking for work packages (start/stop buttons)

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-12816

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 13.0.0 |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Votes | 28 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a project member  
**I want** to to be able to track my time simply by clicking on start/stop buttons  
**so that** time is logged automatically based on actual time past/spemt

### **Acceptance criteria**

  - It's possible to start time tracking directly from a work package using a toolbar button
  - Starting time tracking starts a running timer, which will eventually be used for the "hours" value of logged time
  - When time tracking is running, there is an indication of current runninng time so the user is aware of how much time has passed.
      - On the active tracking work package, the toolbar button changes to show the elapsed time
      - The user account icon on the top right shows a stopwatch. Clicking on the account will show the running timer as well
  - Stopping time tracking displays the log time modal with the logged hours and the user value pre-set, for the current work package (or the one in which the user started time tracking)
      - The user is able to modify these values if she so wishes
  - Starting a timer on another work package shows a modal to confirm the user to first cancel the running timer. Confirming that shows the log time modal as above. Upon closing that, the other starts.

### 

### Figma:

<https://www.figma.com/file/wISiv3Lk0X2n0A9t6Cu76S/Passion-time-2023?type=design&node-id=53-21620>
