Issue Estimated Time not updated on tracker change
|Assignee:||Jean-Philippe Lang||% Done:|
The problem occurs when the issue tracker is changed to another which does not have the estimated time field activated:
- Create a main issue with a tracker which has the "Estimated time" field
- Create a subtask with a tracker which has also the the "Estimated time" field and set it to X hours
- Change the tracker of this subtask to another which does not have the the "Estimated time" field activated
- Go to the parent task
Result: Estimated time on the parent task is still X hours
From my searches, I can see that the issue estimated time is not changed in DB. It won't change to null, but remain to X hours.
When changing tracker, clear the attributes that are disabled for the new tracker (#17527).