Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation: set due date of a cloned story to the following Friday, that is at least 6 days

Craig Duffy October 6, 2025

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.

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2025

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

Craig Duffy October 6, 2025

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

Suggest an answer

Log in or Sign up to answer