src/jira/Util/IssueLinkHelper.php
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;
    }
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;
    }
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 ; }
Returns name of link from Issue link

@param array $issueLink An array of Issue link

@return string Name of link
Returns name of link from Issue link