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

How Can I access multiple HTML text box values separately using Active Choice Reactive Reference Parameter

      How Can I access multiple HTML text box values separately using the Active Choice Reactive Reference Parameter?
      For e.g.
      If I click on Frontend_Sprint_Branch_And_Master_Merge, two text box gets opened as HTML.
      Now if I want these two values separately in variables how can I do that 
      I do not want this value as a single value stored in frontend_merge.

      I want both this values ffchef_backend and ffchef_frontend separately.
      I found one similar ticket but didn't find any reply.https://issues.jenkins-ci.org/browse/JENKINS-54887

          [JENKINS-59188] How Can I access multiple HTML text box values separately using Active Choice Reactive Reference Parameter

          prakash jha created issue -

          If you must have multiple parameters into a single Jenkins parameter 'Frontend_Merge' you can have an AC REF parameter that returns a json structure and then parse it in your build.

          So the 'Frontend_Merge' would return a value something like:

          {
          "ffchef_backend":[
          "branch1",
          "branch2"
          ],
          "ffchef_frontend":[
          "branch3",
          "branch4"
          ]
          }
          

          Nonetheless, I would still recommend having a separate AC Ref for 'ffchef_backend' and another for ffchef_frontend'

          Ioannis Moutsatsos added a comment - If you must have multiple parameters into a single Jenkins parameter 'Frontend_Merge' you can have an AC REF parameter that returns a json structure and then parse it in your build. So the 'Frontend_Merge' would return a value something like: { "ffchef_backend" :[ "branch1" , "branch2" ], "ffchef_frontend" :[ "branch3" , "branch4" ] } Nonetheless, I would still recommend having a separate AC Ref for 'ffchef_backend' and another for ffchef_frontend'

          Question answered

          Ioannis Moutsatsos added a comment - Question answered
          Ioannis Moutsatsos made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            kinow Bruno P. Kinoshita
            prakash_jha prakash jha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: