164165166167168169170
} } catch (RedmineStatusException e) { throw new CoreException(e.getStatus()); } return new RepositoryResponse(ResponseKind.TASK_CREATED, "" + taskId); //$NON-NLS-1$ }
244245246247248249250251252253254
} } else { service.editIssue(user , repo, issue, credentials); } } return new RepositoryResponse(taskData.isNew()?ResponseKind.TASK_CREATED:ResponseKind.TASK_UPDATED,issue.getNumber()); } catch (GitHubServiceException e) { throw new CoreException(GitHub.createErrorStatus(e)); } }
185186187188189190191
entry.setSendEmail(new SendEmail("False")); IssuesEntry created = client.createIssue(entry, monitor); String issueId = getIssueId(created); return new RepositoryResponse(ResponseKind.TASK_CREATED, issueId); }
237238239240241242243
entry.setContent(new HtmlTextConstruct(comment)); } entry.setSendEmail(new SendEmail("False")); entry.setUpdates(updates); client.updateIssue(issueId, entry, monitor); return new RepositoryResponse(ResponseKind.TASK_UPDATED, issueId); }