Prevent Users from Selecting Past Dates in Jira Cloud Custom Fields
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Learn how to restrict date selection to today and future dates in your custom fields.
This KB is not applicable for Jira Service Management customer portal. Please see: JSDCLOUD-545 - Disable dates in the past in customer portal
Solution
This can be achieved by adding a workflow validator to the Create issue transition. The step-by-step process is given below.
Go to Project settings > Workflows > Edit the desired workflow > Select the diagram mode > select the "Create" transition > Validators.
On the next page, click on "Add validator" and choose the Date Compare validator.
Date: select your preferred Date type custom field.
Condition: Select >=
Compare with: Expression with now as a value.
Add.
Publish Draft > Publish.
Was this helpful?