Hey,

It seems you are missing the displayVersion and valueExpression attributes.

The below snippet works, 

...

input id: 'userInput',  message: 'Text goes here', parameters:
    [[
        $class: 'DropdownAutocompleteParameterDefinition',
        name: 'MyName',
        dataProvider: 
        [
            $class: 'InlineJsonDataProvider', 
            autoCompleteData: '[{"id":"1"},{"id":"2"}]'
        ],
        displayExpression: 'id',
        valueExpression: 'id'
    ]]

...


Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4622bf0b-572c-4f3d-8f3d-2bd666795468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to