workflowRuleSearch method

Future<WorkflowRulesSearchDetails> workflowRuleSearch({
  1. required String atlassianTransferId,
  2. required WorkflowRulesSearch body,
})

Returns configurations for workflow transition rules migrated from server to cloud and owned by the calling Connect app.

Implementation

Future<WorkflowRulesSearchDetails> workflowRuleSearch(
    {required String atlassianTransferId,
    required WorkflowRulesSearch body}) async {
  return WorkflowRulesSearchDetails.fromJson(await _client.send(
    'post',
    'rest/atlassian-connect/1/migration/workflow/rule/search',
    headers: {
      'Atlassian-Transfer-Id': 'null',
    },
    body: body.toJson(),
  ));
}