The build is restarted in the web application without additional parameters

Hi, when you click on the restart button in the web application, the build starts without the params, is there any way to fix this?

@Alexandr_Kirshin see https://discourse.drone.io/t/parameters-when-promoting-build/8698/3?u=bradrydzewski

Static parameters are set through the configuration, in my case, the build is created with dynamic parameters via the api and I would like to have the same parameters in the new build when restarting the build, but they are not (

Perhaps you are running an older version of Drone and need to upgrade? The code responsible for restarting a build was updated a while back to re-use parameters on restart. See https://github.com/drone/drone/blame/2d34f8e02d911321a0ae30357f44772d42bc9966/handler/api/repos/builds/retry.go#L104:L106

Yes, the version is old (1.6.5), I will try to update to the latest, thank you!