I'm currently encountering an issue while trying to create a Jira issue via the Jira Service Management (JSM) REST API. Previously, my code was working fine, but now I'm getting an error related to deserializing JSON data.
Here's the JSON data I'm trying to send:
{
"serviceDeskId": 10,
"requestTypeId": 79,
"requestFieldValues": {
"summary": "Distribution list modification",
"description": "Test",
"customfield_13108": {
"value": "Szczecin"
}
},
"requestParticipants": "mwysocki"
}
And here's the error message I'm receiving:
"Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@3dd96618; line: 10, column: 6]"
It seems like the error is related to the requestParticipants
field, but I'm unsure why it's occurring, especially since a similar JSON structure worked before without issues.
Any insights into what might be causing this issue or suggestions on how to resolve it would be greatly appreciated!
Thank you!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.