I have created some rules to run on a daily basis. However, i only want them to run during business hours and days (Mon-Fri 8A-5P).
I cannot find any reference to using CRON expressions, JQL or scheduling to set this up. I have searched the online documentation and have come close (Smart values to calculate business days, and difference calculations) but nothing that works in scheduling automation tasks.
thanks for assistance!
When adding the scheduled trigger to your rule, did you note this link to documentation on CRON expressions:
Please take a look to see how that helps. Thanks!
Kind regards,
Bill
i did, and reviewed other trigger statements and scheduling options from the CRON, JQL and other pages, but there is no mention of how to fine tune it down to business hours.
there were references on using smart tags to do some calculations taking business days and hours into account, but nothing that would help in scheduling automation or trigger events.
I do appreciate your quick response!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you note "business hours" do you mean a fixed window you want or the range of hours defined in Jira? If you are defining the range you could select that yourself in the expression.
If you need something with holiday handling, you may want to build that into the rule.
And, I find the CRON in the scheduled trigger a bit finicky, so a work-around is to just set a simple hourly schedule and add a condition to only continue when inside of your business hours when checking {{now}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.