Hi there community.
I am trying to copy over the value of a label cf called 'Support Request Label' from the Epic to a Support Request within a behaviour initialiser. 
Although technically the script I have is copying the field value...it is adding brackets. Is there anyone out there that know how to get rid of these?
Any help is appreciated.
Epic create screen: 
Script (partial) behind create screen pop up after clicking on Request Support:
//create screen when creating from IT project
if (getBehaviourContextId() == "link-create-support-request-IT") {
getFieldById("project-field").setReadOnly(true)
getFieldById("issuetype-field").setReadOnly(true)
def contextIssue = issueManager.getIssueObject(getContextIssueId())
getFieldById("issuelinks-linktype").setFormValue("epics requiring support").setReadOnly(true)
getFieldById("issuelinks-issues").setFormValue(contextIssue.key).setReadOnly(true)
//below does copy the value, but adds brackets
//getFieldById("customfield_18300").setFormValue("${contextIssue.getCustomFieldValue("Support Request Label")}").setReadOnly(true)
//below adds test without brackets but this is not what I want
//getFieldById("customfield_18300").setFormValue("test")
//below does copy the value, but brings in brackets as well
getFieldByName("Support Request Label").setFormValue(contextIssue.getCustomFieldValue("Support Request Label").toString())
}
Result:
