Hi,
We are using Jira Cloud and I am trying to create an issue via REST call using CURL and the issue itself gets created but no matter what I try, the description does not get added. I am not sure if there's any setting to enable?
My call looks like below :
curl --request POST --url "https://company.atlassian.net/rest/api/3/issue/" --user MY_USER_ID@MYCOMPANY.com:my_token --header "Accept: application/json" --header "Content-Type: application/json" --data @newjson.json
and newjson.json is below
{
"fields": {
"summary": "Created an issue type Live Bug with some description",
"issuetype": {
"name": "Live Bug"
},
"project": {
"key": "MTS"
},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "Basic auth",
"type": "text"
}
]
}
]
}
}
}
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.