Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

User should not be able to select the past date when creating issue on the current date.

Spartans
Contributor
August 24, 2023

We have a Project in JSM and I need some Clarification in Request Types .

We have a Form in which we need customers to set the Start Date and Due Date. But they should not choose the Previous Date to Start Day.

For Example: If the Current Date is 24th Aug 2023. They should not be able to choose the before dates like 18th Aug 2023 like that.

It can be visible, but should not have options for Choosing it. So is there anything like that. If there Please help us with the set-up choose.PNGnochoose.PNG

 

Updated Two images for more clarity .
We need something like the above "Sept 2017" Example One.

 

Thanks

 


 

1 answer

1 vote
Esteban Diaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 24, 2023

Hi @Spartans , 

There is no way to restrict a past date selection in the form but....

You can add a validation on the create transition in the workflow ... so the users will not be able to create the unless the selected date meets the validation settings ...

validator 1.PNG

validator 2.PNGvalidator 3.PNG

 

I hope this has been useful to you.
I will be waiting for your comments. 😉

Cheers!


Esteban Diaz
https://www.linkedin.com/in/estebandiaz/ 

Spartans
Contributor
August 24, 2023

Thanks for your Information. Will it be also reflecting in the customer portal forms where they submit the forms @Esteban Diaz .
If it works it would be very helpful and let me try from myside. Thanks 

Like Esteban Diaz likes this
Spartans
Contributor
August 24, 2023

Hi @Esteban Diaz

I have tried your idea and its reflecting and as per your SS. It is not working because I'm unable to find the field you applied

My Screen Showed this Options

 Date.pngdated.PNG

 

And is there any other things which Can be used.
I need these to work on the Portal Page for Customers to submit forms without choosing past dates.

 

@Esteban Diaz 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events