is there a scripting way to group the version picker for released/unreleased

Bo Liu January 29, 2022

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 scripting way to implement this in behavior?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events