taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
269 stars 162 forks source link

how to get closed issues? #293

Closed chenqilongwuxi closed 6 years ago

chenqilongwuxi commented 7 years ago

final Map<String, String> para = new HashMap<String, String>(); para.put("project_id", project_id); final ResultsWrapper resultsWrapperMain = mgr.getIssueManager().getIssues(para);

can't get closed issue.

Yoshiiix commented 7 years ago

Hi, By default the status is "Open" and you have to specify in your Map. To get all status use the value "*".

para.put("status_id", "*");

alexeyOnGitHub commented 6 years ago

@Yoshiiix thank you, I added this to README file