Time estimates are one of the most difficult parts of software development. 99% of time estimates are totally wrong, however it seems impossible to plan properly without them.
While I definitely don’t have a solution to the above I think there are some changes that can be made to improve the process, and instead of trying to get perfect estimates, rather plan for volatile time estimates.
With that in mind:
Developers need to be given more time to research and plan the development/testing AND implementation of these features. Time estimates need to include more than just how long it takes to write the code. Developers need to realise the business side wants to know how long it will take to get a polished feature out to a client. Not a draft one that still requires a week of testing and bug fixes.
Business needs to understand that in order to build a world class product that doesn’t amass piles of technical debt, even adding a simple feature on paper can result in massive amounts of work for developers (refactoring code/documentation etc). Good developers don’t want to take shortcuts, and you shouldn’t pressure them to do so. It will come back to bite everyone.
The effort required to implement a feature can often explode as unexpected complexities present themselves during the development. I found this happens across the board, even with small features.
The above might sound really obvious to a lot of people, however I have found that this is a recurring issue across teams and companies. The best remedy I ever encountered was to have a dedicated scrum master/team leader whose soul purpose was to keep developers and business updated with changes across the fence, managing expectations and dismantling the “us” vs “them” mentality.