Function update_default_workflow

Source
pub async fn update_default_workflow(
    configuration: &Configuration,
    id: i64,
    default_workflow: DefaultWorkflow,
) -> Result<WorkflowScheme, Error<UpdateDefaultWorkflowError>>
Expand description

Sets the default workflow for a workflow scheme. Note that active workflow schemes cannot be edited. If the workflow scheme is active, set updateDraftIfNeeded to true in the request object and a draft workflow scheme is created or updated with the new default workflow. The draft workflow scheme can be published in Jira. Permissions required: Administer Jira global permission.