Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I want to put restriction in date time picker.

Soumya Subudhi February 1, 2021

Hello,

 

I want to put restriction on date time custom field in Service Desk porta for users. Like users can't put previous date and only can put upcoming date. Anyone knows how to do this ?

 

1 answer

3 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2021

Hi @Soumya Subudhi 

You can do this via a validator.

To achieve this, remove the date time picker in all the screens and place it in the transition, and during the transition, you can add the validator to check for the upcoming date entered as you would check in JQL. 

FYI: You can place the field in the view screen, but that would enable the users to edit the field if they have edit issue permission. You can disable Inline editing for this.

This is the recommended way in native Jira.

Thanks,
Pramodh

Soumya Subudhi February 2, 2021

Okay let me check.

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2021

Sure. Please let me know if you have any query regarding the same.

Suggest an answer

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

Atlassian Community Events