I have behaviors that filter a project's version list based on the selection of a product custom field. I can populate the list of versions properly, but I want to allow for a blank selection, similar to the "Unknown" option on the non-modified version list. I want to give users the ability to zero out the version field. And I would also like it to be the first option as when I edit an issue that hasn't had that version set, it'll populate it with the first version on the list (not cool).
The versions are in a collection :
Collection<Version> prodVersions = versions.findAll{Version version -> version =~ /^06\.03.*[\d]$|^0[7-8].*[\d]$|^Not.*|^0[6-8].*Patch$|^0[6-8].*Pack$/ }
How do I slap a "None" or blank or Unknown at the top of that Collection?