curl --location 'https://test.atlassian.net/rest/api/3/issue' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic dGVzdEBnbWFpbC5jb206YXBpLXRva2Vu' \
--header 'Cookie: atlassian.xsrf.token=f4be895521f08ab95d1adde5f37871e0e86b5cce_lout' \
--data '{
"fields": {
"description": {
"content": [
{
"content": [
{
"text": "Exposure Remediation verification",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"duedate": "2025-06-11",
"issuetype": {
"id": "10001"
},
"project": {
"key": "SCRUM"
},
"summary": "Exposure Remediation"
}}'
Response:
{
"errorMessages": [
"You do not have permission to create issues in this project."
],
"errors": {}
}