public GenericValue getProject() {
    if (project == null) {
      project = issue.getProject();
    }

    return project;
  }
 private void setDefaultSecurityLevel(MutableIssue issue) throws Exception {
   GenericValue project = issue.getProject();
   if (project != null) {
     final Long levelId = getIssueSecurityLevelManager().getSchemeDefaultSecurityLevel(project);
     if (levelId != null) {
       issue.setSecurityLevel(getIssueSecurityLevelManager().getIssueSecurity(levelId));
     }
   }
 }