addIssueEvent(commit, cap.getProject(), cap.getUser());
}
}
private void addIssueEvent(RevCommit commit, Project project, User user) {
GitCommit gitCommit = new GitCommit(commit);
String fullMessage = gitCommit.getMessage();
Set<Issue> referredIssues = IssueEvent.findReferredIssue(fullMessage, project);
String newValue = gitCommit.getId();
for(Issue issue : referredIssues) {
IssueEvent issueEvent = new IssueEvent();
issueEvent.issue = issue;
issueEvent.senderLoginId = user.loginId;