Hi,
I am trying to create new issues using REST and I get the following response message:
{
"issues": [],
"errors": [
{
"status": 400,
"elementErrors": {
"errorMessages": [
"User 'xxxxx' doesn't have the 'Delete Issues' permission"
],
"errors": {}
},
"failedElementNumber": 0
}
]
}
I send the following content to a /rest/api/3/issue/bulk endpoint:
{
"issueUpdates": [
{
"fields": {
"assignee": {
"accountId": "xxxxxxxxxxxxxxxxxx",
"displayName": "name"
},
"customfield_10201": "2019-12-18T00:00:00",
"customfield_10218": "2019-12-20T00:00:00",
"customfield_10219": "2019-12-18T00:00:00",
"customfield_10220": "2019-12-20T00:00:00",
"customfield_10224": [
"xxxx"
],
"customfield_10225": "",
"customfield_10226": "xxxx",
"customfield_10230": "xxxx",
"customfield_10237": 1,
"customfield_10240": [
"xxxx"
],
"duedate": "2019-12-20T00:00:00",
"issuetype": {
"id": "12345",
"name": "xxxx"
},
"priority": {
"name": "Medium"
},
"project": {
"id": "12345"
},
"reporter": {
"accountId": "xxxxxxxxxxxxxxxxxx",
"displayName": "name"
},
"summary": "issue summary",
"timetracking": {
"originalEstimate": "720"
}
}
}
]
}
I wonder why it asks me for the “Delete issues” permission. I wonder if there is an error in my content which raises this error.