Hi, I have an automation that I want to have clone a story- the cloned story should have a due date that is for the following Friday. When I say "following Friday", I mean the Friday that is NOT in the current week. So if its Thursday, I want the automation to set the due date for the cloned story to be 1 week and 1 day in the future, not "tomorrow".
I cant figure out how to make that happen. any advice?
Thank you in advance.
Hi @Craig Duffy
What have you tried to solve this? For example, if you have a smart value expression which does not work, please post that expression and what you observe happening. That will help the community offer better suggestions.
Until we see that, have you tried using the date / time increment functions to do this?
https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
Kind regards,
Bill
thanks Bill-
I think I figured it out, using this
{{
{\{now.withNextDayOfWeek("FRI").plusDays(7)}
}}}
Let me know if that seems like its correct. It worked when I tried it on my dev environment.
Thanks
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.