Content
View differences
Updated by Niels Lindenthal over 2 years ago
#### <img class="op-uc-image op-uc-image_inline" style="width:427px;" src="/api/v3/attachments/88613/content"> Problems with this settings
#### Reasons for the change
* Work flows for status transitions are different from permissions to change % Complete
* It adds a lot of complexity for development.
* It is unclear if there is anyone really using it.
* On our cloud offering
* 88% use field (progress set manually)
* regarding progress %
* 15% have no work packages with progress set
* 20% have between 1 and 9 work packages with progress set
* 65% have at least 10 work packages with progress set
* regarding work
* 22% have no work packages with work set
* 33% have between 1 and 9 work packages with work set
* 45% have at least 10 work packages with work set
* 9% use status (progress set automatically via status)
* regarding work
* 28% have no work packages with work set
* 27% have between 1 and 9 work packages with work set
* 45% have at least 10 work packages with work set
* 3% disabled
* It's hard to draw conclusions about how many people are actively using the progress system: they may have tried it in the past and then stopped using it.
* The feature simply does not work.
* There is no differentiation between project, work package, types and status.
* It is not possible to set the field remaining work
#### Acceptance criteria <img class="op-uc-image op-uc-image_inline" style="width:427px;" src="/api/v3/attachments/88613/content">
**Migrations**
* Remove the setting When completion rate is set manually (from work package field)
* Nothing to do
* When completion rate is automatically set from the status definition.
(from work package status)
* There Work packages progress values need to be updated
* Case 1: Work is no connection between status changes and defined -> The Remaining work is derived from % Complete.
Complete
* There Case 2: Work is no connection between not defined -> % Complete and status changes.
#### **Migrations**
The goal of the migrations is to achieve a consistent status and correct calculations.
deleted (since there is no value for Remaining work)
* Existing The aggregated values for % Complete the parents are not deleted.
re-calculated.
* In case There is a journal in the % Complete is not consistent with Work and Remaining work we show a warning message package explaining the problem and giving information about resolving it.
change
* Inconsistent values are excluded from calculations.
* When clicking on any We have tested the performance of migrations in large installations before the values (Work, Remaining work release and % Complete) the modal opens. deployments.
* In Delete the modal the user can achieve a consistent state. Inconsistent states can not be saved, e.g missing Work and Remaining work. The modal can be cancelled. setting
**Open questions**
* CB: "% Complete is deleted" -> I understand that it's now possible for % Complete to be unset. Before that, % Complete was automatically set to 0% and could never be unset. Did I understand correctly?
* NL: % Complete is always calculated from Work and Remaining work. It is not possible to unset it.
* CB: I feel like the migration to update the calculations belong to ##40749:
* migration for this work package should only update the % Complete field according to the status and delete the setting. This is necessary because actually the setting does not change the % Complete value, but only the way it is displayed: it displays the value from the status instead of displaying the value from the % Complete field. When switching the setting back and forth, we can see that no data is lost.
* then during the development of #40749 the migration should be done as you describe above, making sure that work, remaining work and % complete are consistent with each other and according to the new defined business rules.
* NL: I updated #40479 accordingly
#### Reasons for the change
* Work flows for status transitions are different from permissions to change % Complete
* It adds a lot of complexity for development.
* It is unclear if there is anyone really using it.
*
* 88% use field (progress set manually)
* regarding progress %
* 15% have no work packages with progress set
* 20% have between 1 and 9 work packages with progress set
* 65% have at least 10 work packages with progress set
* regarding work
* 22% have no work packages with work set
* 33% have between 1 and 9 work packages with work set
* 45% have at least 10 work packages with work set
* 9% use status (progress set automatically via status)
* regarding work
* 28% have no work packages with work set
* 27% have between 1 and 9 work packages with work set
* 45% have at least 10 work packages with work set
* 3% disabled
*
* The feature simply does not work.
* There is no differentiation between project, work package, types and status.
* It is not possible to set the field remaining work
#### Acceptance criteria
* Nothing to do
* When completion rate is automatically set
* Case 1: Work
#### **Migrations**
The goal of the migrations is to achieve a consistent status and correct calculations.
* When clicking on any
* In
**Open questions**
* CB: "% Complete is deleted" -> I understand that it's now possible for % Complete to be unset. Before that, % Complete was automatically set to 0% and could never be unset. Did I understand correctly?
* NL: % Complete is always calculated from Work and Remaining work. It is not possible to unset it.
* CB: I feel like the migration to update the calculations belong to ##40749:
* migration for this work package should only update the % Complete field according to the status and delete the setting. This is necessary because actually the setting does not change the % Complete value, but only the way it is displayed: it displays the value from the status instead of displaying the value from the % Complete field. When switching the setting back and forth, we can see that no data is lost.
* then during the development of #40749 the migration should be done as you describe above, making sure that work, remaining work and % complete are consistent with each other and according to the new defined business rules.
* NL: I updated #40479 accordingly