deleteWorkflowTransitionProperty method

Future<void> deleteWorkflowTransitionProperty({
  1. required int transitionId,
  2. required String key,
  3. required String workflowName,
  4. String? workflowMode,
})

Deletes a property from a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see Transition properties and Workflow properties.

Permissions required: Administer Jira global permission.

Implementation

Future<void> deleteWorkflowTransitionProperty(
    {required int transitionId,
    required String key,
    required String workflowName,
    String? workflowMode}) async {
  await _client.send(
    'delete',
    'rest/api/3/workflow/transitions/{transitionId}/properties',
    pathParameters: {
      'transitionId': '$transitionId',
    },
    queryParameters: {
      'key': key,
      'workflowName': workflowName,
      if (workflowMode != null) 'workflowMode': workflowMode,
    },
  );
}