code: function convertIssue (issue) {
    if (!issue) {
      return null;
    }
  
    return {
      "type":   "issue",
      "number": issue.local_id,
      "url":    HOST + issue.resource_uri.replace(/^\/[\d\.]+\/repositories/, ""),
      "title":  issue.title,
      "labels": [] // unsupported
    };
  }
docs: Converters