Hi, I would like to know how I can create an automation to generate a ticket on the 15th and 30th of each month. I tried doing it the conventional way, but I don't see the option to choose specific dates of the month, only time intervals like "every 15 days" or "every 2 weeks."
Hi, @Daniel Bermudez
It's a tricky question. Not all months have 30 days.
You can combine 2 ways. Cron schedule + IF/ELSE validator.
0 9 15,28-31 * ? *
This will trigger at 09:00 on the 15th and from the 28th through the 31st of every month. However, we will add a condition to filter out only the last day of the month for those days from 28 to 31.
Use the smart value {{now.plusDays(1).dayOfMonth}} equals 1.
This condition ensures that the rule only runs on the last day of the month when the next day is the 1st of the following month.
So for days 28-31, this condition checks whether the next day is the 1st (i.e., the current day is the last day of the month).
{{now.dayOfMonth}} equals 15.
After the condition, set the action to create a ticket in the desired project.
Hi @Daniel Bermudez ~ you'll want to use the Scheduled trigger in your automation rule with the following CRON expression
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
which literally translates to "At 9:00 AM, on day 15 and 30 of the month"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.