How to write a Validator to restrict a Custom Date field to now or a future date?

Karl Samson May 10, 2021

I'm trying to write a Validator against a Custom Date field, in order to force users to update the date to the same day or a future date, but I can't seem to find the right syntax to make this work? 

I tried '{Next Action Completion} >= [now]' is true, but the system only allows a future date and not the current date?  I also tried other syntax like startOfDay() or endOfDay(-1d), but the system didn't accept these arguements?

Any suggestions?

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2021

Hi Karl,

Maybe take the = out and only use > 

So  '{Next Action Completion} > [now]' 

Karl Samson May 10, 2021

Same issue I'm afraid! It will only allow a future date and not today's date!?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2021

Are you using a third party tool? 

Karl Samson May 11, 2021

No, Jira Server 8.6.1.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.6.1
TAGS
AUG Leaders

Atlassian Community Events