Content
View differences
Updated by Niels Lindenthal almost 4 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"
* 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**
* Should this be a global admin setting (to be activated / deactivated)?
* 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.
* 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"
* 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**
* Should this be a global admin setting (to be activated / deactivated)?
* 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.
* What happens when logged time > estimated time? Negative remaining hours?