Creating Issues with API but Description does not seem to get created

I’ve searched and it seems that I need to follow an Atlassian Document Format to add to description field and I believe that I am doing that. The creation of the issue succeeds but when I look at the issue either in browser or via API the content part of the Description field is empty.

In the body of the request I have this

    "description": {
        "type": "doc",
        "version": 1,
        "content": [
            {
                "type": "paragraph",
                "content": [
                    {
                        "type": "text",
                        "text": "Why no description?"
                    }
                ]
            }
        ]
    },

and when I try to retrieve the newly created issue I get this:
“description”: {
“type”: “doc”,
“version”: 1,
“content”:
},

What is going on here you think?

That behavior would be consistent with sending ADF to the v2 REST APIs. Can you let us know which API endpoint your client is using?

1 Like

Turns out that our JIRA admins has made a script that clears the description field upon creation and replaces it with a custom field that was empty. They just forgot to tell the API developer :slight_smile:

Its fixed now. Thanks.

2 Likes