Hi, I need help to get the smart value of the current time hour and minute to be exact and what is the example output of it.
I need it to add it in smart value condition.
Here the example of condition I need
current time is greater than 08:00
Hello @Mar
Are you asking about smart values in the context of an Automation Rule? If so please provide the following:
Screen images showing your entire rule.
Screen images showing the details of any steps where the details are not displayed in the step in the diagram.
An explanation of what you are trying to accomplish with the rule.
An explanation of the results you are getting, and how they don't match your expectations.
Screen images showing all the details from the rule audit log for execution of the rule.
The smart value now gives you the current date and time for UTC.
You can find information on extracting portions of that in these documents:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
For example to get the hour portion of the current time you would use {{now.fomat("k")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.