Open
Description
Describe the bug
Hi! The RESTList parameter returns its own description instead of the value when it used as a "referencedParameters" in an activeChoiceHtml parameter
To Reproduce
Steps to reproduce the behavior:
- Create a job with the RESTList parameter type and the name "RESTList_ParameterName", which returns some list of values. And write something in the description field!
- Create a second parameter of the type "Active Choices Reactive Reference Parameter" with the following parameters:
activeChoiceHtml(choiceType: 'ET_FORMATTED_HTML',
name: 'Param2',
omitValueField: false,
randomName: 'choice-parameter-3402384435426128',
referencedParameters: 'RESTList_ParameterName',
script: groovyScript(fallbackScript: [sandbox: true, script: 'return ["ERROR"]'], script: [sandbox: true, script: 'return ["${RESTList_ParameterName}"]']) - Save it.
- Click on "Build with parameters"
- In the Param2 field you will see the description from the RESTList_ParameterName param.
Expected behavior
I expected to see the value but not the description of "RESTList_ParameterName" parameter.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
- Jenkins: 2.426.3
- Plugin: IDN
- Browser chrome
Additional context
Add any other context about the problem here.