Missing history when use the jira api to change the issue type

we have customized plugin code on the post function and written the below code to change the issue type which has different workflow. this works fine.
I am able to change issuetype when I transition the issue. but missing the history status change.

This impact the clients on the reports.


workflowManager.migrateIssueToWorkflow(issue, workflowManager.getWorkflow(issue.getProjectId(), newIssueTypeId), status);

Could you please give us few inputs ?
Jira version api - 7.3.1
amps version - 6.2.4

Could you try re-indexing?

Yes. I tried that as well. thanks for quick respond.