Forums

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

There is a need to add a certain number of hours to the current date

There is a need to add a certain number of hours to the current date, the project automation uses the expression {{now.plusHours (4)}} does not work and the expression {{now.plusDays (1)}} works fine, tell me if there is a solution.

1 answer

1 vote
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.
July 30, 2020

Hi sergeev.viacheslav@telestarcom.ru 

I believe you have an extra spaced before the parenthesis.  This worked for me:

{{now.plusHours(2)}}

By the way, I found more date/time functions for smart values in the JSD documentation:

https://support.atlassian.com/jira-service-desk-cloud/docs/smart-values-date-and-time-functions/

 

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events