Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to greyed out Past dates in date and time Custom Field

PLaksh11
Contributor
August 8, 2024

We have a custom field(Date Time Picker) which allows users to select date and time while creating ticket or in edit screen. When user select that date from custom field i want past dates should be greyed out and it should display today date and future dates.

Ex: Current date and time is 8th August 1:00PM. User selected date should be greater than the Current date and time.

Note: We are using Jira cloud and we have script runner and JMWE Plugin.

1 answer

0 votes
Maciej Dudziak _Forgappify_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2024

Hi @PLaksh11 

I don't think that is possible. All you can do is to have a workflow validator, that will prevent the transition/creation of issue when the date is in the past.

PLaksh11
Contributor
August 8, 2024

Hi @Maciej Dudziak _Forgappify_ 

Thanks for the Reply. I know about the workflow Validator. It will not restrict user to select past days. it will throw error when we do transition.

If i didn't get the solution which i want then i will go with Workflow Validator.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events