Hello! I'm creating a recurring task issue via automation. I want to set a due date of Sept. 13 every other year, unless the 13th is a weekend, in which case I'd want the due date to fall on the previous business day.
Thanks in advance for your help!
Val
Without seeing the specifics of your rule...you could check if the date is on a weekend using the format() function, and if so make an adjustment using the toBusinessDayBackwards function:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-format---
Kind regards,
Bill
Thank you, @Bill Sheboy . This is really helpful. I'm just getting started using smart values and am wading through. I'll let you know how it turns out.
Best,
Val
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again, @Bill Sheboy -- you set me on the right track and I got the automation to work! I had an ongoing fixed due date of Sept 13, except when that date falls on weekends. I made the due date Sep 14 and used the BusinessDayBackwards function to ensure that the new task always appears on a business day.
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.