In Cloud Jira, I am using a scriptrunner. In order to display linked tasks in the key field, you need to write the code below. However, I don't understand how one can find out the keys for a specific links. Because line 5 should have something like "def return = response.body.fields.issuelinks('linkname').inwardIssue.key".
def issueKey = issue.key
def response = get('/rest/api/3/issue/'+issueKey)
.header('Content-Type', 'application/json')
.asObject(Map)
.body
def return = response.body.fields.issuelinks*.inwardIssue.key