I have a behavior to show my interested versions for a version picker like:
unReleasedVersions = [version2,version3]
releasedVersions = [version1]
def options = unReleasedVersion + releasedVersion
getFieldById("customfield_18038").setFieldOptions(options)
this would result such list in the version picker:
version2
version3
version1
but I would like to see the version picker show the versions like the default behavior grouped by the "Unreleased Versions" and "Released Versions" like
Unreleased Versions
version2
version3
Released Versions
version1
is there a way to implement this in behavior?