Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/jira/src/version2/models/jiraExpressionComplexity.ts>JiraExpressionComplexity

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
interface JiraExpressionComplexity
import { type JiraExpressionComplexity } from "https://deno.land/x/jira@v3.0.2/src/version2/models/jiraExpressionComplexity.ts";

Details about the complexity of the analysed Jira expression.

Properties

expensiveOperations: string

Information that can be used to determine how many expensive operations the evaluation of the expression will perform. This information may be a formula or number. For example:

issues.map(i => i.comments) performs as many expensive operations as there are issues on the issues list. So this parameter returns N, where N is the size of issue list. new Issue(10010).comments gets comments for one issue, so its complexity is 2 (1 to retrieve issue 10010 from the database plus 1 to get its comments).

optional
variables: { }

Variables used in the formula, mapped to the parts of the expression they refer to.