When I update issuetype in a ticket from UI (Suppose original issuetype is 'Support Request' and I have updated it to 'Service Request'), implicitly a workflow change is triggered (ex: the workflow is changed from 'XYZ Support Workflow' to 'New PQR Service Request Workflow').
Now, when I update the issuetype in a ticket using REST Api, I'm unable to update the workflow. Only the issuetype seems to be changed and not the workflow.
Please provide me with the REST api url and sample data to update the workflow.