When I try to update the Resolution field (without doing a transition) for a closed defect, I'm getting an exception (Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n). I'm willing to work on this issue if somebody can just point me in the right direction. I'm pointing to the 0.6-SNAPSHOT version of the library in my pom.xml. Full exception stack trace is given below:
net.rcarz.jiraclient.JiraException: Failed to update issue DEV-2588 at net.rcarz.jiraclient.Issue$FluentUpdate.execute(Issue.java:384) at com.holonsolutions.jirautils.UpdateResolutionField.main(UpdateResolutionField.java:34) Caused by: net.rcarz.jiraclient.RestException: 400 : {"errorMessages":["Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@32b87f0c; line: 1, column: 12] (through reference chain: com.atlassian.jira.rest.v2.issue.IssueUpdateBean[\"update\"])"]} at net.rcarz.jiraclient.RestClient.request(RestClient.java:171) at net.rcarz.jiraclient.RestClient.request(RestClient.java:193) at net.rcarz.jiraclient.RestClient.request(RestClient.java:238) at net.rcarz.jiraclient.RestClient.put(RestClient.java:434) at net.rcarz.jiraclient.RestClient.put(RestClient.java:452) at net.rcarz.jiraclient.Issue$FluentUpdate.execute(Issue.java:382) ... 1 more
When I try to update the Resolution field (without doing a transition) for a closed defect, I'm getting an exception (Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n). I'm willing to work on this issue if somebody can just point me in the right direction. I'm pointing to the 0.6-SNAPSHOT version of the library in my pom.xml. Full exception stack trace is given below:
net.rcarz.jiraclient.JiraException: Failed to update issue DEV-2588 at net.rcarz.jiraclient.Issue$FluentUpdate.execute(Issue.java:384) at com.holonsolutions.jirautils.UpdateResolutionField.main(UpdateResolutionField.java:34) Caused by: net.rcarz.jiraclient.RestException: 400 : {"errorMessages":["Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@32b87f0c; line: 1, column: 12] (through reference chain: com.atlassian.jira.rest.v2.issue.IssueUpdateBean[\"update\"])"]} at net.rcarz.jiraclient.RestClient.request(RestClient.java:171) at net.rcarz.jiraclient.RestClient.request(RestClient.java:193) at net.rcarz.jiraclient.RestClient.request(RestClient.java:238) at net.rcarz.jiraclient.RestClient.put(RestClient.java:434) at net.rcarz.jiraclient.RestClient.put(RestClient.java:452) at net.rcarz.jiraclient.Issue$FluentUpdate.execute(Issue.java:382) ... 1 more