pub async fn delete_default_workflow(
configuration: &Configuration,
id: i64,
update_draft_if_needed: Option<bool>,
) -> Result<WorkflowScheme, Error<DeleteDefaultWorkflowError>>
Expand description
Resets the default workflow for a workflow scheme. That is, the default workflow is set to Jira’s system workflow (the jira workflow). Note that active workflow schemes cannot be edited. If the workflow scheme is active, set updateDraftIfNeeded
to true
and a draft workflow scheme is created or updated with the default workflow reset. The draft workflow scheme can be published in Jira. Permissions required: Administer Jira global permission.