changes.mady.by.user Kristina B.
Saved on Jan 11, 2022
Saved on Jan 30, 2024
Prerequisites:
...
To create a Requirements Coverage by Design Elements Legend
Insert the following script as the Body:
var lowerBound = arg3.name.slice(0,arg3.name.indexOf("%"))/100 var upperBound = arg3.name.slice(arg3.name.indexOf("-")+1,arg3.name.lastIndexOf("%"))/100 arg2.size()/arg1.size() > lowerBound && arg2.size()/arg1.size() <= upperBound
Image Modified
Select Create parameter > Element > select the Legend Item for which the expression is defined.Image ModifiedImage Modified
If you cannot see the Legend Item, make sure the Search for option is set to Any Element.