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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I want to put restriction in date time picker.

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

1 vote
Pramodh Community Leader Feb 01, 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

Okay let me check.

Pramodh Community Leader Feb 02, 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
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

163 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you