Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32827

Add the possibility to hide form elements within Active Choice

XMLWordPrintable

      I have a form that is a bit complex, because I'm generating Jenkins Jobs using the Job DSL plugin. We have different types of projects/jobs, and they all require different parameters to be given.

      The best I can do now (thanks to Ioannis Moutsatos) is to hide the value. However, the parameter name and description are still visible, which is potentially confusing: You can see the parameter, but you can't change it.

      So I propose that Active Choices should be able to hide a parameter completely. For instance, under Advanced... there could be three radio buttons with the label Visible:

      • Always
      • Groovy script
      • Scriptler script

      Of course, the scripts must return a boolean value, and ideally Active Choice would check that.

            kinow Bruno P. Kinoshita
            cristalp cristalp
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: