Hello, I have created an automation that assigns existing labels to issues during a status transition. I am using {{issue.summary}} comparing the Summary with a regular expression like below for each label using if/then through the list of target labels. The list of labels is quite long and is expected to grow. Is there a more efficient way to accomplish this besides a series of if/then statement?
To summarize, I would like an automation that parses the Summary text and assigns existing labels based on this text that does not stop when a condition is met, thus assigning all applicable labels to the issue.
Thanks in advance
(?i)(gratuity|gratuities|grat)