We add a label to support tickets that indicate the type/cause. All of them start with the same prefix. In a dashboard I'd like to show the count of tickets with each label with that prefix, but ignore the rest.
For example, using the "two dimensional filter statistics" gadget and a script runner function, this query:
issueFunction in issueFieldMatch("project = PROJ AND component = support'", labels, "support_*") AND updatedDate > startOfDay(-30d)
will find the tickets with a support_* label, but also all the other labels in addition to it.
Is there any way to display counts for just the support_* tickets?