Every time I try to use this code to change a resolution on a ticket:
{ "update": {
"transition": {"id": "45"},
"fields": {
"resolution": {"name": "Done"}
}
}
I get this response:
{"errorMessages":["Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@61704a22; line: 2, column: 9] (through reference chain: com.atlassian.jira.rest.v2.issue.IssueUpdateBean[\"update\"])"]}
What does this mean and how can I fix this issue?