If you set the draw_progress_line option and the draw_related_issues option of the custom query to true, you can not change it to false from the screen.
I think this problem is due to the influence of #29701.
I think that the cause is that the parameter is nil when the check box is false. The solution is to make the parameter '0' if the checkbox is false by the hidden tag.