analyseExpression method

Future<JiraExpressionsAnalysis> analyseExpression({
  1. String? check,
  2. required JiraExpressionForAnalysis body,
})

Analyses and validates Jira expressions.

As an experimental feature, this operation can also attempt to type-check the expressions.

Learn more about Jira expressions in the documentation.

Permissions required: None.

Implementation

Future<JiraExpressionsAnalysis> analyseExpression(
    {String? check, required JiraExpressionForAnalysis body}) async {
  return JiraExpressionsAnalysis.fromJson(await _client.send(
    'post',
    'rest/api/3/expression/analyse',
    queryParameters: {
      if (check != null) 'check': check,
    },
    body: body.toJson(),
  ));
}