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 )