I'm trying to use the choice parameter to let the user choose an ant target. I want the first (default) option to be an empty String (see screen1 in attachments how to reproduce). This seems to work fine if I click on "Save" for the first time: The job settings are set as intended (see screen2). But when I edit the job the next time, the empty option in front will automatically be deleted. Is this wanted behavior?
I also tried the following things:
- if I add more than one empty options in front, there will also be one empty option deleted whenever I edit the job settings
- if the empty option is not at first position (but e.g. between target2 and target3), then the option will not be deleted
It would be great if an empty option at the first position will be possible (and stay there when editing settings). Another use case would be to set a $branch with a choice parameter and use this for example with CVS. When the branch field is empty, CVS will automatically use Head.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Rupin R Nath [ rupinr ]|
|Resolution||Cannot Reproduce [ 5 ]|
|Workflow||JNJira [ 159658 ]||JNJira + In-Review [ 196157 ]|