Hi
How do i get the value of the "Issue" that is part of the "Linked Issues" field:

My Groovy code for Jira Behaviours looks like:
import org.apache.log4j.Logger
import org.apache.log4j.Level
def log = Logger.getLogger("blah.blah.blah")
log.setLevel(Level.DEBUG)
def linkedIssuesCF = getFieldById("issuelinks")
def issueLinksCF = getFieldById("issuelinks-linktype")
log.debug "xxx1 linkedIssuesCF = (" + linkedIssuesCF + ")"
log.debug "xxx2 issueLinksCF = ( " + issueLinksCF + ")"
def bugid = getFieldById("issuelinks-issues-textarea") // <<<--- Is this the right name? If not, how do i get the value of this field???
log.debug "xxx3 bugid = (" + bugid + ")"In my Groovy code, i will need to take some action based on field values of the issue key that the user specified in "Issue" field
This is what i see in the atlassian-jira.log file:
xxx1 linkedIssuesCF = (Form field ID: issuelinks, value: issuelinks)
xxx2 issueLinksCF = ( Form field ID: issuelinks-linktype, value: mitigates)
xxx3 bugid = ( Form field ID: issuelinks-issues-textarea, value: null )