Forums

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

Automation - change field value based on time

Lukasz Grobelny
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.
December 4, 2023

I would like to create an automation that will edit the value of the field.

So, if it's between 2 AM and 4 PM it will add a certain value. 

I have no problem with that when the trigger is on creation, I'm just comparing the Created time, but what if the trigger is Issue Edited? So the field value is edited, I'm comparing {{now}} to what? Any ideas?

1 answer

1 accepted

0 votes
Answer accepted
Lukasz Grobelny
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.
December 4, 2023

OK found it, just get the current time and compare it with the time in the same format. 

Suggest an answer

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

Atlassian Community Events