The bulk create issue REST API:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-bulk-post
It includes a transition attribute in the payload. But I assume it must start from the initial status? Can it support multiple transitions?
Or must I modify the workflow to add transitions to every status, hide them from users, in order to be able to create issue with any status?
Hi @KC Wong ,
Yes, the transition field on the Bulk Create Issue API only supports a single transition, and it must be a valid transition from the issue’s initial workflow state after creation. if you need issues to be created directly into arbitrary statuses, you would typically need to make those statuses reachable immediately after creation.
Hello @KC Wong 🤠
The bulk create endpoint only handles a single transition during creation, it cannot chain multiple workflow steps at once. To move an issue through a sequence, you need to create it first and then call the transition endpoint separately for each subsequent step.
If you want to land issues directly into various target statuses right at creation, your workflow must explicitly allow those paths from the start via direct or global transitions. If these paths are strictly for an integration, you can use workflow conditions to hide them from your regular users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.