Switching on and off(hide parameters based on check or radio button)

DeepuJ
Wed, 25 Jan 2023 09:12:51 +0000
Using Jenkins

We have a two pipelines, call happening from upstream pipeline to downstream pipeline and all downstream pipeline parameters are we had provided in upstream parameters. and user needs to run only upstream job based on situation.
Ask is, In UI build parameters we should hide/dissapper downstream (String and Choice) parameters by using any radio/check box option.

Anyone one can provide the solution it would be appreciated!