Forums

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

Set Date Time custom filed to a certain Time

James Sanders March 1, 2021

We have a custom filed that is a Date Time picker.

We have a custom rule that creates hand-off cases when a certain case type is used.  This rule works without issue but I would like to set the Start Time to a certain hour while allowing the Start Date to be set by using:
{{now.plusBusinessDays(3)}}

 

Any thoughts?

1 answer

1 accepted

2 votes
Answer accepted
Hana Kučerová
Community Champion
March 1, 2021

Hi @James Sanders ,

you should be able to do something like:

{{now.plusBusinessDays(3).withHour(8).withMinute(0)}}

 See here for more information.

James Sanders March 1, 2021

Hana,

 

Thank you, that worked perfectly.

 

James

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events