• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


03 Feb, 2025

Updated at 08 Feb, 2025

Automation to assign existing labels to issue based on Summary text

 

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)Screen Shot 2025-02-03 at 7.26.16 AM.png