I have a requirement to extract the value present in a custom field of type "Version Picker" .
If I do this
def releaseVerField = ComponentAccessor.customFieldManager.getCustomFieldObject("customfield_19641")
def releaseVerFieldValue = issue.getCustomFieldValue(releaseVerField).toString()
I get the output as [7.2] with square brackets. Can someone please advise how to get only the value and ignore the brackets.