[ScriptRunner] Duplicate Values from TextField (MultiLine)

I am attempting to get the values of a Multi-line textfield, but the values are duplicated. This is consistent across a couple of other customfields of the same type. Is there any info related to this?

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.link.IssueLinkManager
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.issue.Issue
import com.atlassian.jira.issue.CustomFieldManager
import com.atlassian.jira.user.ApplicationUser
import com.atlassian.jira.issue.link.IssueLink


MutableIssue issue = ComponentAccessor.getIssueManager().getIssueObject("MGG-6089") as MutableIssue

def cfManager = ComponentAccessor.getCustomFieldManager()
//def issueLinkManager = ComponentAccessor.getIssueLinkManager()

def jiraIssueList = cfManager.getCustomFieldObject('customfield_14104')
def jiraIssueListValue = issue.getCustomFieldValue(jiraIssueList)

//def inwardLinks = issueLinkManager.getInwardLinks(issue.id)

//ApplicationUser user = ComponentAccessor.jiraAuthenticationContext.getLoggedInUser()

//IssueLink issueLink = ComponentAccessor.getComponent(com.atlassian.jira.issue.link.IssueLink)

//log.info("inwardLinks: "+inwardLinks)
//log.info("inwardLinks Type: "+inwardLinks.class)
log.info("issue list: "+jiraIssueListValue )

Hi @RaynardRhodes1,

I have run your code and it worked ok.
You need to provide some more details about this duplicates.

Best Regards,
Lukasz

I’ve opened a support ticket with Adaptavist. It seems to be an issues regarding my instance. I’ll update when I find out what’s going on.