How to prevent users from selecting previous or past date in date type custom field

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

This KB is not applicable for Jira Service Management customer portal. Please see: JSDCLOUD-545 - Disable dates in the past in customer portal

Purpose

This article will help to prevent users from selecting past date, hence they can only choose today or future dates.

Solution

This can be achieved by adding a workflow validator in the Create issue transition. The step by step process is given below.

  1. Go to Project settings > Workflows > Edit the desired workflow > Select the diagram mode > select the "Create" transition > Validators.

    1. (Auto-migrated image: description temporarily unavailable)
  2. On the next page, click on "Add validator" and choose the Date Compare validator

    1. Date: select your preferred Date type custom field

    2. Condition: Select >=

    3. Compare with: Expression with now as a value

    4. (Auto-migrated image: description temporarily unavailable)
  3. Add

  4. Publish Draft > Publish

Updated on March 28, 2025

Still need help?

The Atlassian Community is here for you.