getWorkflowTransitionProperties method

Future<WorkflowTransitionProperty> getWorkflowTransitionProperties({
  1. required int transitionId,
  2. bool? includeReservedKeys,
  3. String? key,
  4. required String workflowName,
  5. String? workflowMode,
})

Returns the properties on 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<WorkflowTransitionProperty> getWorkflowTransitionProperties(
    {required int transitionId,
    bool? includeReservedKeys,
    String? key,
    required String workflowName,
    String? workflowMode}) async {
  return WorkflowTransitionProperty.fromJson(await _client.send(
    'get',
    'rest/api/3/workflow/transitions/{transitionId}/properties',
    pathParameters: {
      'transitionId': '$transitionId',
    },
    queryParameters: {
      if (includeReservedKeys != null)
        'includeReservedKeys': '$includeReservedKeys',
      if (key != null) 'key': key,
      'workflowName': workflowName,
      if (workflowMode != null) 'workflowMode': workflowMode,
    },
  ));
}