function hasVersionComment (issue, version) {
    if (!issue.version && !issue.comments) {
      log.error('no version information on issue document', { issue })
      return false
    }
    return issue.version === version || (issue.comments && issue.comments.includes(version))
  }