I've been trying various flavors of regex and the osticket 1.15 documentation (we're on 1.16) on using filters doesn't give the guidance I'm seeking. I've tried a number of searches here on the forum and across googleland, but haven't found a good hit yet. This is in the Rules Matching Criteria section. I admit I'm pretty new to osticket and probably just a lack of familiarity with it. I've reviewed all our current filters to see if there was one to copy.
The field is left empty until a code is provided, once the code is entered/saved, I'm trying to send a notification to a group so they can perform an action. This field must be entered as a criteria to close the ticket, this part works. I have a number of other filters that I've created to check a field for a value, i.e. Yes or No, and send a notification as needed. TIA, Carl

    mfs-shepherdc As example, I've tried flavors as such: Matches Regex with /^[0-9]{6}$/, or /^[a-zA-Z]{6}$/ thinking this would check if the field has a number value of six digits. The field is a Short Answer and the Field Validator is set to Number.

    I was able to get this working. Set the Target Channel to Any and the rule is Does Not Match Regex with /""/.

    The filter continues to send the email notice after it was originally updated, so I'm looking into this now. Checking on the Stop function.

    Ok, here's where I'm at. I did get the filter to function. However, it's functioning on other tickets instead of the one ticket when the one "Code:" field is filled in. I'm not seeing, currently, a way to trigger an alert for an individual ticket with an individual field filled in.

    Filters only fire on ticket creation. Maybe thats why your having this issue?

      Write a Reply...