I am trying to create an automation that searches all the tickets within a project that contains sensitive data (I have the regex I need for this), and then emails specific users.
I am stuck on the syntax of the JQL portion of the Scheduled trigger. How can I combine JQL with Regex? For example I want the JQL to return any issues that have specific numerical formatting in the Description.
I then want that list of tickets to be emailed to specific users. I know to use the send email action, but how do I add the list of tickets the JQL returned?
description ~ (?!000|666)[0-8][0-9]{2}-(?!00)[0-9]{2}-(?!0000)[0-9]{4}$ does not work (syntax is incorrect)