Skip to content

bcmedeiros/redmine-java-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine/Chiliproject Java API.

Gradle dependency:

dependencies {
    compile 'com.taskadapter:redmine-java-api:1.24'
}

Check the latest release version in Maven Central

Sample code.

Sample code to retrieve list of Redmine issues:

private static String uri = "https://www.hostedredmine.com";
private static String apiAccessKey = "a3221bfcef5750219bd0a2df69519416dba17fc9";
private static String projectKey = "taskconnector-test";
private static Integer queryId = null; // any

RedmineManager mgr = RedmineManagerFactory.createWithApiKey(uri, apiAccessKey);
List<Issue> issues = mgr.getIssues(projectKey, queryId);
for (Issue issue : issues) {
    System.out.println(issue.toString());
}

How to contribute to the project.

  • Install Gradle 2.0+.
  • To build in command line: run "gradle build".
  • To open the project code in IDEA or Eclipse: open "build.gradle" file. Your IDE will create a project basing on the gradle's script.
  • Please make sure you add unit and/or integration tests when submitting your changes. Don't forget to document the required Redmine version and other limitations.

Packages

No packages published

Languages

  • Java 98.7%
  • Groovy 1.3%