[Jira service desk rest api] Change status to Escalated, reassign assignee and add comment


I have created a Jira service desk project and created a workflow where I have configure Escalated status.

While changing the status to Escalated from Jira I can reassign the assignee and I can add a comment.

I want to achieve the above scenario using rest API and I could not find it the developer documentation. Please help!

PS: I cannot even change the status to Escalated using the rest API. I use the Transition Issue method to update the status (/rest/api/2/issue/{issueIdOrKey}/transitions).