Content
View differences
Updated by Niels Lindenthal over 3 years ago
**As** an OpenProject user
**I want** remaining hours to be calculated based on the difference of estimated time and logged time (on the work package)
**so that** I have an automatic way to calculate the remaining time.
**Acceptance criteria**
* When _estimated time_ is set for a work package, remaining hours should be set accordingly.
* When time is logged on the work package, the remaining hours should be reduced accordingly (remaining hours = estimated time - logged time).
* When the estimated time is edited, the remaining hours should be adjusted accordingly.
* Remaining hours must not be connected to the Backlogs module. It is a native core feature.
* Remaining hours should be renamed to "Remaining work"
* When a user logs time on a work package the user can decided to reduce the remaining time accordingly.
* The Remaining work of children needs to be treated like "Estimated time" <mention class="mention" data-id="40867" data-type="work_package" data-text="#40867">#40867</mention> data-text="#40867">#40867</mention>
* All values need to be shown in one modal view (similar to the duration in the date picker)
* Estimated time (Work)
* Logged time (Actual work)
* Progress % (% Work complete)
* Remaining hours (Remaining work)
**Open questions**
* Logged time can Should this be higher than estimated time. Example
a global admin setting (to be activated / deactivated)?
* Logged time: 50 h
It could make sense to add a second field for this purpose instead, as there are several use cases where you want to set the remaining time/effort that needs to be put in manually (current intention/behavior). This would make it more clear for the user, too.
* Work: 40 h
* Remaining work: 0 h What happens when logged time > estimated time? Negative remaining hours?
**I want** remaining hours to be calculated based on the difference of estimated time and logged time (on the work package)
**so that** I have an automatic way to calculate the remaining time.
**Acceptance criteria**
* When _estimated time_ is set for a work package, remaining hours should be set accordingly.
* When time is logged on the work package, the remaining hours should be reduced accordingly (remaining hours = estimated time - logged time).
* When the estimated time is edited, the remaining hours should be adjusted accordingly.
* Remaining hours must not be connected to the Backlogs module. It is a native core feature.
* Remaining hours should be renamed to "Remaining work"
* When a user logs time on a work package the user can decided to reduce the remaining time accordingly.
* The Remaining work of children needs to be treated like "Estimated time" <mention class="mention" data-id="40867" data-type="work_package" data-text="#40867">#40867</mention>
* All values need to be shown in one modal view (similar to the duration in the date picker)
* Estimated time (Work)
* Logged time (Actual work)
* Progress % (% Work complete)
* Remaining hours (Remaining work)
**Open questions**
* Remaining work: 0 h