public void setIssueStatus(int issue_id, String status) { Issue foundIssue = getIssue(issue_id); foundIssue.setStatus(status); persist(foundIssue); }
public void setNewIssue(String key, String status) { Issue issue = new Issue(); issue.setIssue_key(key); issue.setStatus(status); persist(issue); }