REST API GDPR accountId inconsistencies


Based on this ISSUE [JRACLOUD-69783] REST API /assignee does not set correctly when using accountId - Create and track feature requests for Atlassian products., it is mentioned that the “id” should be used for accountIds.

But if I’m sending an accountId as ‘id’ with ‘/rest/api/2/issue/{issueKey}/notify’ call then I’m getting an error, the only way it works if I’m explicitly saying ‘accountId’.

So looks like there are inconsistencies across the APIs.

Sample payload:



Is this an expected behaviour, or is it going to break in the future?


JRACLOUD-69783 deals specifically with creating and updating issues. The substance of that ticket is “it seems like accountId works everywhere else, but not for creating issues.” You should use “accountId” here.

I appreciate that this is a bit confusing (including, as I just noticed, that the REST API documentation does not specify the attributes for UserDetails for sending notifications…), and so we are working to allow “accountId” to work for creating and updating issues as well.

1 Like

Thanks for clearing this up!