public static function getLinkName($issueLink)
    {
        $linkName = null;

        if (isset($issueLink['outwardIssue'])) {
            if (isset($issueLink['outwardIssue']['key'], $issueLink['type']['outward'])) {
                $linkName = $issueLink['type']['outward'];
            }
        } elseif (isset($issueLink['inwardIssue'], $issueLink['type']['inward'])) {
            if (isset($issueLink['inwardIssue']['key'])) {
                $linkName = $issueLink['type']['inward'];
            }
        }

        return $linkName;
    }