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

The value in Java server has not been updated if the Referenced Parameters has been changed.

XMLWordPrintable

      With the help of CascadeChoiceParameter, PT_SINGLE_SELECT can fetch the value from Java server and then update it on the drop-down menu. But the value in Java server is not able to change the 2nd time. 

      For example, a drop-down menu can display what user typed from input box. In other words, a drop-down menu is an referencedParameter with the input box. If user typed the word "First-Time", there will be a "First-Time" at the list of drop-down menu. But if user typed the word "Second-Time", the "First-Time" is still showing at the list of drop-down menu.

      I have attached the source code and screenshot. Hope someone can take a look and figure out the problem. Thanks in advance.

        1. Blank-Disable.png
          Blank-Disable.png
          113 kB
        2. First-Time.png
          First-Time.png
          489 kB
        3. Jenkinsfile
          2 kB
        4. Second-Time.png
          Second-Time.png
          488 kB

            Unassigned Unassigned
            diwang0727 di
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: