1. When any link is created using linkCreated event is it possible to get exact issue key from where the link is created?.
i can use below code to determine source and destination issue id
def linkId = issueLink.entrySet().getAt(0).value
def sourceIssueID =issueLink.entrySet().getAt(1).value
def destIssueID =issueLink.entrySet().getAt(2).value
However this source and destination id got changed when issue link type is changes from inward to outward when a link is created
2.The get issue link API also doesn't support direction to finalize from which issue the link is created like below in jira expression.
See issueLink -> direction