Hi guys,
Trying to create an issue in Jira, with a very simple JSON
{
"fields": {
"summary": "my simple test",
"issuetype": {
"id": "10103"
},
"project": {
"key": "TEST"
},
"assignee": {
"id": "somenumber:someguid"
}
}
}
Adding the header to opt-in to GDPR compatible mode
“x-atlassian-force-account-id”, “true”
Using “id”, instead of “accountId” because of this
https://jira.atlassian.com/browse/JRACLOUD-69783
And also the official doc says it shall be “id”, https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-post
But keep getting “Account ID somenumber:someguid does not exist”
Well, account exists - checked with https://.atlassian.net/rest/api/2/user/search?query=
To bring some more context - this request is initiated from the add-on with scopes: “READ”, “WRITE”, “ADMIN”, “ACT_AS_USER”
Add-on can create issues in Jira (when I remove the assignee part) and it can change assignee when I opt-out from GPDR mode (no extra header added) and instead “accountId” use
"name": "account_name"
Any clues?