@staticmethod
def format_issue_link(link):
    """Converts issue link to tuple."""
    try:
        link_target = link.outwardIssue
        link_type = link.type.outward
    except AttributeError:
        link_target = link.inwardIssue
        link_type = link.type.inward
    return ('I{0}'.format(link.id), link_type, link_target.fields.summary,
        link_target.fields.status.name, '')
