I'm using the REST interface and the create case API to create a new case. The case is created, but no activities. In particular, no "Open Case" activity is created as I would have expected. No entry is created in the civicrm_case_activity table. As a consequence (or maybe this is just a coincidence), the Case does not show up in search results. If I edit the case, then a Change Case entry is created in the civicrm_case_activity table and the case then appears in search reports.
Do I need to explicitly create an Open Case activity? For example by chaining api.Activity.create json on to the Case create json? Thanks.
CiviCRM 5.10.4 Joomla 3.9.2 PHP 7.0.33