From c87f576c6a48400d70f9c15330d8636c3fd5189c Mon Sep 17 00:00:00 2001 From: Igor Antonov Date: Mon, 22 Jun 2015 10:19:34 +0300 Subject: [PATCH] Write custom fields for project --- .../com/taskadapter/redmineapi/internal/RedmineJSONBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/taskadapter/redmineapi/internal/RedmineJSONBuilder.java b/src/main/java/com/taskadapter/redmineapi/internal/RedmineJSONBuilder.java index 6d9458a3..01390524 100644 --- a/src/main/java/com/taskadapter/redmineapi/internal/RedmineJSONBuilder.java +++ b/src/main/java/com/taskadapter/redmineapi/internal/RedmineJSONBuilder.java @@ -239,6 +239,7 @@ public static void writeProject(Project project, final JSONWriter writer) JsonOutput.addIfNotNull(writer, "homepage", project.getHomepage()); addIfNotNullFull(writer, "created_on", project.getCreatedOn()); addIfNotNullFull(writer, "updated_on", project.getUpdatedOn()); + writeCustomFields(writer, project.getCustomFields()); JsonOutput.addIfNotNull(writer, "parent_id", project.getParentId()); JsonOutput.addIfNotNull(writer, "is_public", project.getProjectPublic()); JsonOutput.addArrayIfNotNull(writer, "trackers", project.getTrackers(),