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

Both these usage gives error as Invalid Expression: startOfDay(8h) and startOfDay("+8h")

Gunasekaran N July 20, 2023

I am using Jira Server version 7.5.4 and following is my requirement.

I want to restrict the users/customers to submit requests only between 8:00am and 4:30pm. I was trying to use this Workflow validator for the same Date Expression Compare (JSU) 


  • Created >= startOfDay("+8h")
  • Including time part


  • Created <= startOfDay("+990m")
  • Including time part

Please let me know what is the correct usage?

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 20, 2023

Hi @Gunasekaran N ,

You cannot restrict users/customers to submit requests only between 8:00am and 4:30pm. Either you need to make your Jira down or remove permissions during these times.

The JQLs used will work only for created ticket and it is not the right way to use in the workflow validator. 

Please note: The 'Date Expression Compare' check compares the value of a date field with a date expression (for example, date field must be more recent than actual date). If the check fails, no action will be performed.

AUG Leaders

Atlassian Community Events