The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Maciej Dudziak _Forgappify_
Atlassian Partner
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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events