private static void tryCreateIssue(RedmineManager mgr) throws IOException, AuthenticationException, NotFoundException, RedmineException { Issue issue = new Issue(); issue.setSubject("test123"); mgr.createIssue(projectKey, issue); }
private static void changeIssueStatus(RedmineManager mgr) throws IOException, AuthenticationException, RedmineException, NotFoundException { Issue issue = mgr.getIssueById(1771); issue.setSubject("new"); mgr.update(issue); }