Hi @gladwingt
Q1) level
or `level`
will work to access the variable. Unfortunately the specific syntax youβre using of filtering the list only supports a literal string and not a variable. This is a limitation of FQL but can be achieved using TypeScript.
data.severities.filter((item) => item.name === level).map((item) => item.id)
Q2) Could you expand a little more on what you mean by this?
Q3) Thank you for this feedback, we will add it as a feature request.