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

Active Choice Reactive Reference parameter value rendered as File Selector not cascaded

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When an Active Choice reactive reference is rendered as a Jenkins File Chooser, the name of the selected file is not cascaded to other active choices that reference it.

        Attachments

          Activity

          ioannis Ioannis Moutsatsos created issue -
          kinow Bruno P. Kinoshita made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          ioannis Ioannis Moutsatsos made changes -
          Attachment config[1].xml [ 38753 ]
          kinow Bruno P. Kinoshita made changes -
          ioannis Ioannis Moutsatsos made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          kinow Bruno P. Kinoshita made changes -
          Attachment screenshot-1.png [ 46970 ]
          whatsdevops Angelo Loria made changes -
          Comment [ [~dozinbatty] did you find a resolution for your issue? I'm facing the same thing in a pipeline:

           
          {code:java}
                                [
                                  $class: 'DynamicReferenceParameter',
                                  choiceType: 'ET_FORMATTED_HTML',
                                  description: '',
                                  name: fileParam,
                                  omitValueField: false,
                                  referencedParameters: actionParam,
                                  script: [
                                     $class: 'GroovyScript',
                                     fallbackScript: [
                                        classpath: [],
                                        sandbox: false,
                                        script: ''
                                     ],
                                     script: [
                                        classpath: [],
                                        sandbox: false,
                                        script: 'if(Action == \'ExecuteScript\') { return \'\'\'<input name="value" type="file" jsonaware="true">\'\'\'}'
                                     ]
                                  ]
                               ]





          {code}
            ]

            People

            Assignee:
            kinow Bruno P. Kinoshita
            Reporter:
            ioannis Ioannis Moutsatsos
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: