Due Date Automation

Felicia Rodrigues March 29, 2022

Hey,

I am trying to set up an automation so that the due date changes to one day before the selected due date. 

I saw this code in the community

{{now.minusDays(1)}}

However, I don't need it to be one day less from now but from the selected due date. 

Example: Someone sets the due date 7th, I then want the automation to change that field so that the due date on this specific task is on the 6th instead. 

Help please :D 

1 answer

1 accepted

1 vote
Answer accepted
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 30, 2022

Hi @Felicia Rodrigues ,

 

May be something like this would help:

 

{{issue.duedate.minusDays(1)}}

 

Thanks,

 

Ben

Felicia Rodrigues March 30, 2022

Works like a charm. Thank you! 

Like Benjamin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events