Is it possible to restrict the Due Date field entry to only take today's and future dates but not past?

I need to setup the Due Date field to accept only Today's and future dates, but not past dates. Can this be done within JIRA Service Desk?

2 answers

Hello Jaime,

You can do this using a validator, so before to create an issue, first it will validate using the options that you set (e.g Users can’t set the _Due Date_ field if it’s before the date from now).
To achieve this, first you will have to install the JIRA Tool Kit Plugin: https://marketplace.atlassian.com/plugins/com.atlassian.jira.toolkit] which will have extra validators options

Hello Rodrigo .... I have installed the JIRA Tool Kit Plugin. Where in the system can I setup the validator for my Due Date field?

Edit "Create" transition and add new condition "Date Expression Compare".

Is this gonna work when the user edits the issue? I mean, will it do the validation in the Edit screen?

 

We too have this problem.. our Estimated Completion Date field is editable on the view and people sometimes pick a date in the past. A validator won't help since there is no transition

It seems like we need something like 'edit validators'..

 

Has anyone come up with an elegant solution?

Well it seems like the 2 options are

  1. delete the field from the edit screen so it cannot be edited and instead provide a workflow button to edit it which can validate it
  2. leave it as-is and let the users know to be careful when changing the ECD.

The solution we will probably use is #2.. None of our users when polled wanted another w/f step just to change a field. The users are also clever enough to have their own filters for upcoming or past completion dates

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

708 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you