Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Date/time smart values - If time is currently before 2PM

Hi community, 

I am looking to create an Automation for JIRA where a rule will capture this scenario:

If time of day is before 2PMCentral, assign to user 1

If time of day is after 2PMCentral, assign to user 2

 

I've fully built the automation but am not sure on the smart values needed to make this work. For example, this doesn't seem to produce a good result:

{{now.isAfter({{now.withHour(14).withMinute(0)}})}}

 

Any suggestions?

1 answer

1 vote
John Funk Community Leader Jun 15, 2021

Hi Darren,

You might try using startOfDay

{{now.isAfter({{startOfDay(6)})}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

227 views 2 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you