We are using REST API 3 to create Issues in JIRA Cloud instance.
{"issues":[],"errors":[{"status":400,"elementErrors":{"errorMessages":[],"errors":{"customfield_11644":"Operation value must be an Atlassian Document (see the Atlassian Document Format)","customfield_11636":"Operation value must be an Atlassian Document (see the Atlassian Document Format)","customfield_11641":"Operation value must be an Atlassian Document (see the Atlassian Document Format)"}},"failedElementNumber":0}]}
We are getting the above response to one of the jira instance (lets say alice.atlassian.net/rest/api/3/
Where as same data when exported to another jira instance of ours (lets say bob.atlassian.net/rest/api/3/ ) its working fine .
In both scenarios , we created custom fields and assigned to the respective screens of the project.
Can any one help us on the same ?
Hi Sdara,
This is due to invalid request format in the payload, Please refer the developer community for right format.
for example see below thread:
Yes, that worked, I think it should be accepted as an answer. Basically, we have to to use description as :
"description": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "description" } ] } ] },
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great stuff! This helped me resolve this issue!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem... Anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error is because you have a wrong payload with description attribute, remove the description attribute as its not mandatory and send the request.
For ex:
Use the below payload to create an issue:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.