Hi, I am getting below mentioned error when i tried to call date select in jira issue creation. could someone help me to solve this issue
JSON BLOB
{
"update": {
"summary": [{
"set": "Testing an API"
}],
"duedate" :"2011-03-11",
"description": [{
"set": "Lorem Ipsum"
}]
}
}
Issue
{"errorMessages":["Can not instantiate value of type [simple type, class com.atlassian.jira.rest.api.issue.FieldOperation] from JSON String; no single-String constructor/factory method (through reference chain: com.atlassian.jira.rest.v2.issue.IssueUpdateBean[\"update\"])"]}
Hi Jayakrishnan -
A bit late, but it appears that this error is typically caused by syntax issues. I'd recommend taking a look at the following community post: Odd error while creating issue from REST. You may also want to look into using a JSON Builder like https://jsoneditoronline.org/ to help craft the JSON.
Hope it helps!
Jennifer
If you checked the JSON blob posted by OP, you'd see it's valid JSON, so a syntax issue should not be the case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.