Create Jira Issue with specific status via API

Hi there,

Use case: I need to create issues with status “Done” via API.

I need to create Jira Issues with specific status using API, is that possible?
Or I need to create a Jira Issue and make another call to update the status of this Issue?

If the only option to achieve this is update status in a separate call, is bulk update supported?

Thank you

As per the documentation, the Bulk create issue endpoint supports transitioning the issue during creation:

Bulk create issue

POST /rest/api/3/issue/bulk

Creates upto 50 issues and, where the option to create subtasks is enabled in Jira, subtasks. Transitions may be applied, to move the issues or subtasks to a workflow step other than the default start step, and issue properties set.