How to apply a validator to a date picker field in JIRA Service Desk?

I would like to apply a validator for a date picker field in JIRA Service Desk. I need to be able to select todays and future dates, but not past. I tried looking for a plug-in with a custom field, but looks like, this can be only accomplished using validators. Can someone help providing the steps on how to accomplish this for a non java script programmer? 

3 answers

I need to accomplish the same task, only in my case this date cannot be less than three days from today. Help please?

Hi Jaime,

  1. Download JIRA Suite Utilities https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities
  2. Upgrade your JSD to 3.1.8 (a bug with the error message was fixed in that version)
  3. Go here Validators and check out this section:

     Validators

    Validators check that any input made to the transition is valid before the transition is performed. Input can include that gathered from the user on the transition's screen. 

    If a validator fails, the issue does not progress to the destination status of the transition, and the transition's post functions are not executed. 

      Adding a validator

    To add a validator to a transition, edit the workflow that contains the transition, select the transition, then click Validators in the properties panel for the transition.

      Not sure about that? Click here to see how...

    On the Validators tab, you can see any validators that have already been set.

    When you cllck Add validator you can choose from the available validators and set any necessary parameters for the validator.

    Please let me know if you have questions. I will walk you thru.


     

This is such a common task...It is surprising it was not answered.

Let me know people if you need help.

Peace!

 

 

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
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,235 views 2 14
Read article

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