automation rule: Set date for next monday

Maarten SMETS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2024

Hi,


I'm trying to get an automation rule to set due dates on my tickets automatically by moving them into the "in progress" column.

We have a specific field to check which ticket is to be executed on each day of the week. This part of the automation is working.

I cannot get the date to work as expected though.

The idea is that when I move an issue into the "in progress" column, the rule will execute and edit the issue duedate field to set it for the next day_of_the_week 

 

Any input on how to write the smart-value for the "duedate" field would be greatly appreciated.

As an example, let's say I need something for "next Monday" ?

1 answer

1 accepted

7 votes
Answer accepted
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2024

Hi @Maarten SMETS ,

please try something like:

{{now.withNextDayOfWeek("MON")}}

See here for the reference: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

Maarten SMETS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2024

Hey Hana,

 

Wauw, that was so much easier than what I was trying...

Thanks!

Like # people like this
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2024

I'm happy to help :-)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events