I referred this site and tried to create a customer request the following command.
curl --request POST \
--url 'https://{my_instance}.atlassian.net/rest/servicedeskapi/request' \
--user {my_account}:{my_tokone} \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
-d customer_request.jsonAlso, the above json file is below.
{
"serviceDeskId": "1",
"requestTypeId": "88",
"requestFieldValues":
{
"summary": "Request JSD via REST",
"description": "This was issued by Jira Cloud REST API."
}
}However, the response was below.
{"errorMessages":["There was an error parsing JSON. Check that your request body is valid."]}
Please note that I can execute GET command with my account and token.
Do you have any ideas to fix the issue?
Regards,