Hi!
This is a really good point.
As you noticed, this parameterized metric has a limitation when the attribute allows multiple values.
When the attribute has a single value, RQA gets just the value as a plain text in a single line. However, when the attribute has multiple values, it returns the values as a plain text but one value per line.
If you select = as operator, the metric will check if the value in the metric configuration matches at a 100% with the one found in the requirements, so it will never get any results if the requirements has multiple values. However, there is a workaround that is selecting Regular Expression as operator. This way, it will work as a “contains”, so you will get the results you want to achieve same than attributes with single value.
There is already a new issue to the development team in order to remove this limitation as an improvement for next releases.
Regards,