deleteDraftWorkflowMapping method

Future<void> deleteDraftWorkflowMapping({
  1. required int id,
  2. required String workflowName,
})

Deletes the workflow-issue type mapping for a workflow in a workflow scheme's draft.

Permissions required: Administer Jira global permission.

Implementation

Future<void> deleteDraftWorkflowMapping(
    {required int id, required String workflowName}) async {
  await _client.send(
    'delete',
    'rest/api/3/workflowscheme/{id}/draft/workflow',
    pathParameters: {
      'id': '$id',
    },
    queryParameters: {
      'workflowName': workflowName,
    },
  );
}