Currently I have a pipeline job which has different paramters where one of this parameters is a Choice parameter. Here is the config.xml output of that job parameter:
Use ExtendedChoiceParameterValue instead of ChoiceParameterValue
ExtendedChoiceParameterValue
ChoiceParameterValue
e.g.
[$class: 'ExtendedChoiceParameterValue', name: 'param_name', value: 'param_value']